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:
@@ -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");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user