chore: 项目构建标准为 ESM,显式声明cjs文件

This commit is contained in:
baiqi 2024-07-09 18:24:19 +08:00 committed by 刘瑞斌
parent 4341904360
commit 6d05ca6fdc
8 changed files with 1 additions and 0 deletions

View File

@ -5,6 +5,7 @@
"private": true,
"author": "MeterSphere Team",
"license": "MIT",
"type": "module",
"scripts": {
"dev": "vite --config ./config/vite.config.dev.ts",
"build": "vue-tsc --noEmit && vite build --config ./config/vite.config.prod.ts",