Skip to content

Commit 1d990d7

Browse files
committed
Update build script
1 parent 4a27ea8 commit 1d990d7

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

js/package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,7 @@
1616
"author": "Project Jupyter",
1717
"main": "src/index.js",
1818
"scripts": {
19-
"build": "webpack",
20-
"build:extensions": "webpack && jupyter labextension build .",
19+
"build": "webpack && jupyter labextension build .",
2120
"clean": "rimraf dist/ && rimraf ../ipyleaflet/labextension/ && rimraf ../ipyleaflet/nbextension",
2221
"prepublish": "npm run clean && npm run build",
2322
"test": "echo \"Error: no test specified\" && exit 1",

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737

3838
cmdclass = create_cmdclass('jsdeps', data_files_spec=data_files_spec)
3939
js_command = combine_commands(
40-
install_npm(js_dir, npm=["yarn"], build_cmd='build:extensions'), ensure_targets(jstargets),
40+
install_npm(js_dir, npm=["yarn"], build_cmd='build'), ensure_targets(jstargets),
4141
)
4242

4343
is_repo = os.path.exists(os.path.join(here, '.git'))

0 commit comments

Comments
 (0)