diff options
-rw-r--r-- | package.json | 4 | ||||
-rw-r--r-- | webpack.common.js (renamed from webpackBaseConfig.js) | 0 | ||||
-rw-r--r-- | webpack.dev.js (renamed from webpack.config.js) | 2 | ||||
-rw-r--r-- | webpack.prod.js (renamed from webpack.production.js) | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/package.json b/package.json index 08e39b26..44e22449 100644 --- a/package.json +++ b/package.json @@ -8,8 +8,8 @@ "test": "npm run-script standard && npm run-script jsonlint", "jsonlint": "find . -not -path './node_modules/*' -type f -name '*.json' -o -type f -name '*.json.example' | while read json; do echo $json ; jq . $json; done", "standard": "node ./node_modules/standard/bin/cmd.js", - "dev": "webpack --config webpack.config.js --mode=production --progress --colors --watch", - "build": "webpack --config webpack.production.js --progress --colors --bail", + "dev": "webpack --config webpack.dev.js --progress --colors --watch", + "build": "webpack --config webpack.prod.js --progress --colors --bail", "postinstall": "bin/heroku", "start": "node app.js", "doctoc": "doctoc --title='# Table of Contents' README.md" diff --git a/webpackBaseConfig.js b/webpack.common.js index 8df19b71..8df19b71 100644 --- a/webpackBaseConfig.js +++ b/webpack.common.js diff --git a/webpack.config.js b/webpack.dev.js index 3c7c727e..d0d1a423 100644 --- a/webpack.config.js +++ b/webpack.dev.js @@ -1,4 +1,4 @@ -var baseConfig = require('./webpackBaseConfig') +var baseConfig = require('./webpack.common') const MiniCssExtractPlugin = require('mini-css-extract-plugin') var path = require('path') diff --git a/webpack.production.js b/webpack.prod.js index 67387583..f3c7dad3 100644 --- a/webpack.production.js +++ b/webpack.prod.js @@ -1,4 +1,4 @@ -var baseConfig = require('./webpackBaseConfig') +var baseConfig = require('./webpack.common') var webpack = require('webpack') var path = require('path') const OptimizeCSSAssetsPlugin = require('optimize-css-assets-webpack-plugin') |