chore: 项目构建标准为 ESM,显式声明cjs文件
This commit is contained in:
parent
4341904360
commit
6d05ca6fdc
|
@ -5,6 +5,7 @@
|
||||||
"private": true,
|
"private": true,
|
||||||
"author": "MeterSphere Team",
|
"author": "MeterSphere Team",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
|
"type": "module",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "vite --config ./config/vite.config.dev.ts",
|
"dev": "vite --config ./config/vite.config.dev.ts",
|
||||||
"build": "vue-tsc --noEmit && vite build --config ./config/vite.config.prod.ts",
|
"build": "vue-tsc --noEmit && vite build --config ./config/vite.config.prod.ts",
|
||||||
|
|
Loading…
Reference in New Issue