This commit is contained in:
张成
2026-03-24 11:18:40 +08:00
parent 6de4936012
commit c3623d4a95
4 changed files with 380 additions and 10 deletions

View File

@@ -5,10 +5,8 @@
"main": "dist/admin-framework.js",
"scripts": {
"build": "webpack --mode production",
"build:dev": "cross-env NODE_ENV=development webpack --mode production",
"dev": "webpack --mode development --watch",
"serve": "npm run build && npx http-server -p 8080 -o /demo/index.html",
"serve:dev": "npm run build:dev && npx http-server -p 8080 -o /demo/index.html"
"serve": "npm run build && npx http-server -p 8080 -o /demo/index.html"
},
"keywords": [
"admin",
@@ -45,7 +43,6 @@
"@babel/preset-env": "^7.12.0",
"autoprefixer": "^10.4.21",
"babel-loader": "^8.2.0",
"cross-env": "^10.1.0",
"css-loader": "^5.0.0",
"file-loader": "^6.2.0",
"less": "^4.0.0",