2022-04-15 20:34:43 +00:00
|
|
|
import merge from "webpack-merge";
|
|
|
|
import webpackCommon from "./webpack.common";
|
2022-04-15 05:11:46 +00:00
|
|
|
|
2022-04-15 20:34:43 +00:00
|
|
|
const prodConfig = {
|
2022-04-15 05:11:46 +00:00
|
|
|
mode: "production",
|
|
|
|
output: {
|
|
|
|
filename: "[name].js",
|
|
|
|
path: "./public"
|
|
|
|
}
|
2022-04-15 20:34:43 +00:00
|
|
|
};
|
2022-04-15 05:11:46 +00:00
|
|
|
|
|
|
|
export default merge(webpackCommon, prodConfig);
|