Skip to content

Commit

Permalink
config path for webpack build command
Browse files Browse the repository at this point in the history
  • Loading branch information
toanalien committed Sep 5, 2017
1 parent 2cd47c1 commit 63736ca
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion client/build/webpack.prod.conf.js
Expand Up @@ -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,
Expand Down Expand Up @@ -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,
Expand Down

0 comments on commit 63736ca

Please sign in to comment.