wip: suppoer vite2 -- import.meta.glob
Showing
... | @@ -3,8 +3,8 @@ | ... | @@ -3,8 +3,8 @@ |
"version": "2.0.0-rc.16", | "version": "2.0.0-rc.16", | ||
"scripts": { | "scripts": { | ||
"bootstrap": "yarn install", | "bootstrap": "yarn install", | ||
"serve": "cross-env vite ", | "serve": "vite", | ||
"build": "cross-env vite build && esno ./build/script/postBuild.ts", | "build": "vite build && esno ./build/script/postBuild.ts", | ||
"build:no-cache": "yarn clean:cache && npm run build", | "build:no-cache": "yarn clean:cache && npm run build", | ||
"report": "cross-env REPORT=true npm run build ", | "report": "cross-env REPORT=true npm run build ", | ||
"preview": "npm run build && esno ./build/script/preview.ts", | "preview": "npm run build && esno ./build/script/preview.ts", | ||
... | @@ -47,7 +47,7 @@ | ... | @@ -47,7 +47,7 @@ |
"devDependencies": { | "devDependencies": { | ||
"@commitlint/cli": "^11.0.0", | "@commitlint/cli": "^11.0.0", | ||
"@commitlint/config-conventional": "^11.0.0", | "@commitlint/config-conventional": "^11.0.0", | ||
"@iconify/json": "^1.1.283", | "@iconify/json": "^1.1.284", | ||
"@ls-lint/ls-lint": "^1.9.2", | "@ls-lint/ls-lint": "^1.9.2", | ||
"@purge-icons/generated": "^0.5.0", | "@purge-icons/generated": "^0.5.0", | ||
"@types/echarts": "^4.9.3", | "@types/echarts": "^4.9.3", | ||
... | @@ -84,7 +84,7 @@ | ... | @@ -84,7 +84,7 @@ |
"fs-extra": "^9.0.1", | "fs-extra": "^9.0.1", | ||
"husky": "^4.3.7", | "husky": "^4.3.7", | ||
"koa-static": "^5.0.0", | "koa-static": "^5.0.0", | ||
"less": "^4.0.0", | "less": "^4.1.0", | ||
"lint-staged": "^10.5.3", | "lint-staged": "^10.5.3", | ||
"portfinder": "^1.0.28", | "portfinder": "^1.0.28", | ||
"postcss-import": "^14.0.0", | "postcss-import": "^14.0.0", | ||
... | @@ -98,12 +98,12 @@ | ... | @@ -98,12 +98,12 @@ |
"stylelint-order": "^4.1.0", | "stylelint-order": "^4.1.0", | ||
"ts-node": "^9.1.0", | "ts-node": "^9.1.0", | ||
"typescript": "^4.1.3", | "typescript": "^4.1.3", | ||
"vite": "^2.0.0-beta.16", | "vite": "^2.0.0-beta.19", | ||
"vite-plugin-html": "^2.0.0-beta.5", | "vite-plugin-html": "^2.0.0-beta.5", | ||
"vite-plugin-import-context": "^1.0.0-rc.1", | "vite-plugin-import-context": "^1.0.0-rc.1", | ||
"vite-plugin-mock": "^2.0.0-beta.1", | "vite-plugin-mock": "^2.0.0-beta.1", | ||
"vite-plugin-purge-icons": "^0.5.0", | "vite-plugin-purge-icons": "^0.5.0", | ||
"vite-plugin-pwa": "^0.3.2", | "vite-plugin-pwa": "^0.3.3", | ||
"vue-eslint-parser": "^7.3.0", | "vue-eslint-parser": "^7.3.0", | ||
"yargs": "^16.2.0" | "yargs": "^16.2.0" | ||
}, | }, | ||
... | ... |
想要评论请 注册 或 登录