2024-03-08 23:08:43 +00:00
|
|
|
import { merge } from 'webpack-merge'
|
|
|
|
import common from './webpack.common.js'
|
|
|
|
import webpack from 'webpack'
|
2024-03-05 02:40:32 +00:00
|
|
|
|
2024-03-08 23:08:43 +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-08 23:08:43 +00:00
|
|
|
})
|
2024-03-05 02:40:32 +00:00
|
|
|
],
|
|
|
|
devtool: 'source-map',
|
|
|
|
})
|
2024-03-08 23:08:43 +00:00
|
|
|
|
|
|
|
export default config
|