Skip to content

Commit

Permalink
make jupyter config generate a separate JS bundle
Browse files Browse the repository at this point in the history
  • Loading branch information
phschaad committed Jan 15, 2024
1 parent 0217cf6 commit bc88e88
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,7 @@
"build-dev": "npm run clean && webpack --config-name=main --mode=development",
"watch": "npm run clean && webpack --watch --config-name=main --mode=development",
"serve": "npm run clean && webpack serve --config-name=main --mode=development",
"build-prod": "npm run clean && webpack --config-name=main --mode=production",
"build-jupyter": "npm run clean && webpack --config-name=jupyter --mode=production",
"build-prod": "npm run clean && webpack --mode=production",
"postinstall": "patch-package",
"test": "jest"
},
Expand Down
2 changes: 1 addition & 1 deletion webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ const jupyterConfig = {
}
},
output: {
filename: '[name].js',
filename: '[name]_jupyter.js',
path: path.resolve(__dirname, 'dist'),
},
plugins: [
Expand Down

0 comments on commit bc88e88

Please sign in to comment.