From ba4ab7dbc102c43a861654910ba33989021e9c8b Mon Sep 17 00:00:00 2001 From: marudor Date: Thu, 3 May 2018 17:33:49 +0200 Subject: add documentation, include old custom font again --- webpack.config.js | 18 ++---------------- 1 file changed, 2 insertions(+), 16 deletions(-) (limited to 'webpack.config.js') 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'), -- cgit v1.2.3-54-g00ecf