frontend integration

This commit is contained in:
realaravinth
2021-04-09 14:21:43 +05:30
parent c4255397b1
commit 0496c0bdaf
95 changed files with 7115 additions and 197 deletions

View File

@@ -10,7 +10,7 @@ var HtmlWebpackPlugin = require('html-webpack-plugin');
module.exports = merge(common, {
mode: 'production',
output: {
filename: '[name].[contentHash].bundle.js',
filename: '[name].js',
path: path.resolve(__dirname, 'dist'),
},
optimization: {
@@ -20,7 +20,7 @@ module.exports = merge(common, {
],
},
plugins: [
new MiniCssExtractPlugin({filename: '[name].[contentHash].css'}),
new MiniCssExtractPlugin({filename: '[name].css'}),
new CleanWebpackPlugin(),
],
module: {