Rename Webpack config to official recommendation

Signed-off-by: David Mehren <dmehren1@gmail.com>
This commit is contained in:
David Mehren 2018-10-08 10:05:13 +02:00
parent c7478c1694
commit 9a2dcd40d3
No known key found for this signature in database
GPG key ID: 6017AF117F9756CB
4 changed files with 4 additions and 4 deletions

View file

@ -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"

View file

@ -1,4 +1,4 @@
var baseConfig = require('./webpackBaseConfig')
var baseConfig = require('./webpack.common')
const MiniCssExtractPlugin = require('mini-css-extract-plugin')
var path = require('path')

View file

@ -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')