1
0
mirror of https://github.com/sahadev/vue-component-creater-ui.git synced 2025-12-15 15:04:25 +08:00
This commit is contained in:
shangbin
2021-04-22 16:50:02 +08:00
parent 92065271ff
commit ea5c239a91
6 changed files with 1 additions and 63 deletions

View File

@@ -2,23 +2,6 @@ const path = require("path");
module.exports = {
css: { extract: false },
configureWebpack:
process.env.NODE_ENV === "production"
? {
entry: "./index.js",
output: {
filename: "build.js",
library: "vcc",
libraryTarget: "umd",
umdNamedDefine: true,
},
}
: {
entry: "./main.js"
},
lintOnSave: true,
chainWebpack: (config) => {
const vueRule = config.module.rule("vue");