gh-action-bump-version/webpack.config.js

20 lines
353 B
JavaScript

const TerserPlugin = require('terser-webpack-plugin');
module.exports = {
mode: 'production',
entry: './index.js',
target: 'node',
optimization: {
minimizer: [
new TerserPlugin({
terserOptions: {
format: {
comments: false,
},
},
extractComments: false,
}),
],
},
};