diff options
Diffstat (limited to 'webpack.config.js')
-rw-r--r-- | webpack.config.js | 18 |
1 files changed, 2 insertions, 16 deletions
diff --git a/webpack.config.js b/webpack.config.js index a743f393..ecfc0704 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -17,24 +17,10 @@ const plugins = [ new ExtractTextPlugin('[name].css'), ]; -// if (!__DEV__) { -// plugins.push( -// new webpack.optimize.UglifyJsPlugin({ -// compress: { -// warnings: false, -// }, -// output: { -// comments: false, -// }, -// screwIe8: true, -// sourceMap: false, -// }) -// ); -// } const themeEntries = {}; for (let i = 0; i < 7; i++) { - themeEntries[`theme${i}`] = `./themes/theme${i}.less`; + themeEntries[`theme${i}`] = `./frontend/themes/theme${i}.less`; } module.exports = { @@ -44,7 +30,7 @@ module.exports = { }, entry: { ...themeEntries, - vendor: './js/vendor.js', + vendor: './frontend/js/vendor.js', }, output: { path: path.resolve('public/assets'), |