Skip to content

Commit da1af78

Browse files
committed
print more debug info for jupyter labextension build
1 parent 6e7df7c commit da1af78

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

js/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"scripts": {
1313
"build:widget": "esbuild --bundle --alias:plotly.js=plotly.js/dist/plotly --format=esm --minify --outfile=../plotly/package_data/widgetbundle.js src/widget.ts",
1414
"build:mimerenderer": "esbuild --bundle --alias:plotly.js=plotly.js/dist/plotly --format=esm --minify --outfile=lib/mimeExtension.js src/mimeExtension.ts",
15-
"build:labextension": "jupyter labextension build .",
15+
"build:labextension": "jupyter labextension build --debug --show-config-json .",
1616
"build": "npm run build:widget && npm run build:mimerenderer && npm run build:labextension",
1717
"watch": "npm run build -- --watch --sourcemap=inline",
1818
"typecheck": "tsc --noEmit"

plotly/labextension/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@
3030
},
3131
"jupyterlab": {
3232
"mimeExtension": true,
33+
"webpackConfig": "./webpack.config.js",
3334
"outputDir": "../plotly/labextension",
3435
"_build": {
3536
"load": "static/remoteEntry.6213e23b3bdd99ae0b34.js",

0 commit comments

Comments
 (0)