更换构建工具rsbuild
This commit is contained in:
18
package.json
18
package.json
@@ -4,11 +4,11 @@
|
||||
"private": false,
|
||||
"author": "kubbo",
|
||||
"scripts": {
|
||||
"dev": "vue-cli-service serve examples/main.js",
|
||||
"build": "vue-cli-service build",
|
||||
"oms": "vue-cli-service serve examples/main.js --mode oms",
|
||||
"dev": "rsbuild dev",
|
||||
"build": "rsbuild build",
|
||||
"oms": "rsbuild dev --mode oms",
|
||||
"sync": "node bin/appsSync.js",
|
||||
"preview": "node bin/build.js && vue-cli-service serve",
|
||||
"preview": "node bin/build.js && rsbuild dev",
|
||||
"predev": "node bin/scanApps.js",
|
||||
"preoms": "dotenv -e .env.oms node bin/scanApps.js"
|
||||
},
|
||||
@@ -41,16 +41,18 @@
|
||||
"@babel/plugin-proposal-logical-assignment-operators": "^7.10.4",
|
||||
"@babel/plugin-proposal-nullish-coalescing-operator": "^7.10.4",
|
||||
"@babel/plugin-proposal-optional-chaining": "^7.10.4",
|
||||
"@vue/cli-plugin-babel": "^3.6.0",
|
||||
"@vue/cli-plugin-eslint": "^3.6.0",
|
||||
"@vue/cli-service": "^3.6.0",
|
||||
"@rsbuild/core": "^1.0.17",
|
||||
"@rsbuild/plugin-babel": "^1.0.2",
|
||||
"@rsbuild/plugin-sass": "^1.0.4",
|
||||
"@rsbuild/plugin-vue2": "^1.0.1",
|
||||
"autoprefixer": "^10.4.20",
|
||||
"axios": "^0.19.2",
|
||||
"babel-eslint": "^10.1.0",
|
||||
"core-js": "^2.6.11",
|
||||
"dotenv-cli": "^7.4.2",
|
||||
"element-ui": "^2.15.9",
|
||||
"eslint": "^5.16.0",
|
||||
"eslint-plugin-vue": "^5.0.0",
|
||||
"fs-extra": "^11.2.0",
|
||||
"image-webpack-loader": "^6.0.0",
|
||||
"inquirer": "^6.5.2",
|
||||
"mockjs": "^1.1.0",
|
||||
|
||||
Reference in New Issue
Block a user