Skip to content

Commit 9a2dcd4

Browse files
committed
Rename Webpack config to official recommendation
Signed-off-by: David Mehren <[email protected]>
1 parent c7478c1 commit 9a2dcd4

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88
"test": "npm run-script standard && npm run-script jsonlint",
99
"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",
1010
"standard": "node ./node_modules/standard/bin/cmd.js",
11-
"dev": "webpack --config webpack.config.js --mode=production --progress --colors --watch",
12-
"build": "webpack --config webpack.production.js --progress --colors --bail",
11+
"dev": "webpack --config webpack.dev.js --progress --colors --watch",
12+
"build": "webpack --config webpack.prod.js --progress --colors --bail",
1313
"postinstall": "bin/heroku",
1414
"start": "node app.js",
1515
"doctoc": "doctoc --title='# Table of Contents' README.md"
File renamed without changes.

webpack.config.js renamed to webpack.dev.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
var baseConfig = require('./webpackBaseConfig')
1+
var baseConfig = require('./webpack.common')
22
const MiniCssExtractPlugin = require('mini-css-extract-plugin')
33
var path = require('path')
44

webpack.production.js renamed to webpack.prod.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
var baseConfig = require('./webpackBaseConfig')
1+
var baseConfig = require('./webpack.common')
22
var webpack = require('webpack')
33
var path = require('path')
44
const OptimizeCSSAssetsPlugin = require('optimize-css-assets-webpack-plugin')

0 commit comments

Comments
 (0)