mirror of https://github.com/IoTcat/sakura2.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
502 B
17 lines
502 B
const merge = require("webpack-merge") |
|
const commonConfig = require("./webpack.common") |
|
const devConfig = require("./webpack.dev") |
|
const prodConfig = require("./webpack.prod") |
|
const i18nConfig = require("./webpack/webpack.i18n") |
|
|
|
module.exports = mode => { |
|
// if (mode === "production") { |
|
// return merge(commConfig, prodConfig, { |
|
// mode |
|
// }) |
|
// } |
|
// return merge(commonConfig, { |
|
// mode: "development", // "production" | "development" | "none" |
|
// }) |
|
return commonConfig |
|
} |