summaryrefslogtreecommitdiff
path: root/webpack.config.js
diff options
context:
space:
mode:
authormarudor <marudor@marudor.de>2018-05-03 17:33:49 +0200
committermarudor <marudor@marudor.de>2018-05-03 17:33:49 +0200
commitba4ab7dbc102c43a861654910ba33989021e9c8b (patch)
tree47ee466231e8596f986c702fc4b9624b8ca2a3d6 /webpack.config.js
parent757d87946931620cf5fe84ec5f163edd6f3986f8 (diff)
add documentation, include old custom font again
Diffstat (limited to 'webpack.config.js')
-rw-r--r--webpack.config.js18
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'),