Skip to content

Commit

Permalink
Cleanup js webpack config a little. Remove unused json transform
Browse files Browse the repository at this point in the history
  • Loading branch information
Jon M. Mease committed Apr 17, 2018
1 parent 49e0075 commit 1bc4aca
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 24 deletions.
32 changes: 16 additions & 16 deletions js/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 4 additions & 6 deletions js/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,20 +20,18 @@
],
"scripts": {
"clean": "rimraf dist/ && rimraf ../plotlywidget/static",
"build": "webpack",
"prepublish": "npm run clean && npm run build",
"prepublish": "webpack",
"test": "echo \"Error: no test specified\" && exit 1"
},
"devDependencies": {
"json-loader": "^0.5.4",
"webpack": "^3.5.5",
"webpack": "^3.10.0",
"rimraf": "^2.6.1",
"ify-loader": "^1.1.0"
},
"dependencies": {
"plotly.js": "^1.35.2",
"@jupyter-widgets/base": "^1.0.4",
"lodash": "^4.0"
"@jupyter-widgets/base": "^1.0.0",
"lodash": "^4.17.4"
},
"jupyterlab": {
"extension": "src/jupyterlab-plugin"
Expand Down
3 changes: 1 addition & 2 deletions js/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@ var version = require('./package.json').version;
// stored in a separate local variable.
var rules = [
{ test: /\.css$/, use: ['style-loader', 'css-loader']},
{ test: /\.json$/, use: 'json-loader' },
{ test: /\.js$/, use: 'ify-loader' }
{ test: /\.js$/, use: ['ify-loader']}
];


Expand Down

0 comments on commit 1bc4aca

Please sign in to comment.