mirror of
https://github.com/mCaptcha/mCaptcha.git
synced 2026-02-13 02:55:39 +00:00
frontend integration
This commit is contained in:
@@ -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: {
|
||||
|
||||
Reference in New Issue
Block a user