Skip to content

Commit 8118d54

Browse files
committed
fix html build
1 parent ed28717 commit 8118d54

File tree

3 files changed

+6
-4
lines changed

3 files changed

+6
-4
lines changed

.circleci/config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ jobs:
172172
nvm use 24
173173
. venv/Scripts/activate
174174
npm run private::build.jupyterlab && npm run private::build.renderer
175-
cd components/dash-html-components && npm run build:windows
175+
cd components/dash-html-components && npm run build
176176
no_output_timeout: 30m
177177

178178
test-312: &test

components/dash-html-components/package.json

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,9 @@
1919
"lint": "eslint src scripts",
2020
"build:js": "webpack --mode production",
2121
"build:backends": "dash-generate-components ./src/components dash_html_components -p package-info.json && cp dash_html_components_base/** dash_html_components && dash-generate-components ./src/components dash_html_components -p package-info.json --r-prefix 'html' --r-suggests 'dash,dashCoreComponents' --jl-prefix 'html' && black dash_html_components",
22-
"build:py": "dash-generate-components ./src/components dash_html_components -p package-info.json && cp dash_html_components_base/** dash_html_components && dash-generate-components ./src/components dash_html_components -p package-info.json && black dash_html_components",
2322
"build": "npm run build:js && npm run build:backends",
2423
"postbuild": "es-check es5 dash_html_components/*.js",
2524
"build:watch": "watch 'npm run build' src",
26-
"build:windows": "npm run build:js && build:py",
2725
"test:py": "pytest --nopercyfinalize --headless tests/test_dash_html_components.py tests/test_integration.py",
2826
"test": "run-s -c test:py lint"
2927
},

components/dash-html-components/scripts/extract-elements.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,11 @@ function extractElements($) {
2222
// experimental, don't add yet
2323
'portal',
2424
'fencedframe',
25-
'selectedcontent'
25+
'selectedcontent',
26+
// Geolocation has a weird formatting catch
27+
`geolocation
28+
Experimental
29+
`
2630
];
2731
// `<section>` is for some reason missing from the reference tables.
2832
const addElements = [

0 commit comments

Comments
 (0)