gotelem/web/webpack.prod.js

14 lines
315 B
JavaScript
Raw Normal View History

2024-03-05 02:40:32 +00:00
const { merge } = require('webpack-merge');
const common = require('./webpack.common.js');
module.exports = merge(common, {
mode: "production",
plugins: [
new webpack.EnvironmentPlugin({
NODE_ENV: "production",
BASE_URL: "",
});
],
devtool: 'source-map',
})