Permalink
Browse files

config path for webpack build command

  • Loading branch information...
toanalien committed Sep 5, 2017
1 parent 2cd47c1 commit 63736ca530b7e757ea9e74e9119ac93b05582a19
Showing with 4 additions and 1 deletion.
  1. +4 −1 client/build/webpack.prod.conf.js
@@ -12,6 +12,9 @@ var OptimizeCSSPlugin = require('optimize-css-assets-webpack-plugin')
var env = config.build.env
var webpackConfig = merge(baseWebpackConfig, {
entry: {
app: './client/src/main.js'
},
module: {
rules: utils.styleLoaders({
sourceMap: config.build.productionSourceMap,
@@ -51,7 +54,7 @@ var webpackConfig = merge(baseWebpackConfig, {
// see https://github.com/ampedandwired/html-webpack-plugin
new HtmlWebpackPlugin({
filename: config.build.index,
template: 'index.html',
template: './client/index.html',
inject: true,
minify: {
removeComments: true,

0 comments on commit 63736ca

Please sign in to comment.