Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 1bc4aca

Browse filesBrowse files
author
Jon M. Mease
committed
Cleanup js webpack config a little. Remove unused json transform
1 parent 49e0075 commit 1bc4aca
Copy full SHA for 1bc4aca

File tree

Expand file treeCollapse file tree

3 files changed

+21
-24
lines changed
Filter options
Expand file treeCollapse file tree

3 files changed

+21
-24
lines changed

‎js/package-lock.json

Copy file name to clipboardExpand all lines: js/package-lock.json
+16-16Lines changed: 16 additions & 16 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎js/package.json

Copy file name to clipboardExpand all lines: js/package.json
+4-6Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -20,20 +20,18 @@
2020
],
2121
"scripts": {
2222
"clean": "rimraf dist/ && rimraf ../plotlywidget/static",
23-
"build": "webpack",
24-
"prepublish": "npm run clean && npm run build",
23+
"prepublish": "webpack",
2524
"test": "echo \"Error: no test specified\" && exit 1"
2625
},
2726
"devDependencies": {
28-
"json-loader": "^0.5.4",
29-
"webpack": "^3.5.5",
27+
"webpack": "^3.10.0",
3028
"rimraf": "^2.6.1",
3129
"ify-loader": "^1.1.0"
3230
},
3331
"dependencies": {
3432
"plotly.js": "^1.35.2",
35-
"@jupyter-widgets/base": "^1.0.4",
36-
"lodash": "^4.0"
33+
"@jupyter-widgets/base": "^1.0.0",
34+
"lodash": "^4.17.4"
3735
},
3836
"jupyterlab": {
3937
"extension": "src/jupyterlab-plugin"

‎js/webpack.config.js

Copy file name to clipboardExpand all lines: js/webpack.config.js
+1-2Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,7 @@ var version = require('./package.json').version;
55
// stored in a separate local variable.
66
var rules = [
77
{ test: /\.css$/, use: ['style-loader', 'css-loader']},
8-
{ test: /\.json$/, use: 'json-loader' },
9-
{ test: /\.js$/, use: 'ify-loader' }
8+
{ test: /\.js$/, use: ['ify-loader']}
109
];
1110

1211

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.