gotelem/web/webpack.prod.js

17 lines
353 B
JavaScript
Raw Normal View History

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