Splitted webpack config into base and dev. Re-use it in .storybook webpack config.

This commit is contained in:
Andrey Okonetchnikov
2016-09-15 20:04:45 +02:00
parent f6ab5e3d47
commit ede273a732
4 changed files with 41 additions and 72 deletions

View File

@ -4,7 +4,7 @@
"description": "Netlify CMS lets content editors work on structured content stored in git",
"main": "index.js",
"scripts": {
"start": "webpack-dev-server --config webpack.config.js",
"start": "webpack-dev-server --config webpack.dev.js",
"test": "NODE_ENV=test mocha --recursive --compilers js:babel-register --require ./test/setup.js",
"test:watch": "npm test -- --watch",
"build": "webpack --config webpack.config.js",
@ -75,6 +75,7 @@
"url-loader": "^0.5.7",
"webpack": "^1.13.2",
"webpack-dev-server": "^1.15.1",
"webpack-merge": "^0.14.1",
"webpack-postcss-tools": "^1.1.1",
"whatwg-fetch": "^1.0.0"
},