chore: 实现重新启动增量构建的功能

This commit is contained in:
wangxuefeng
2025-03-11 18:26:20 +08:00
parent 14d4519d03
commit f259d54035
10 changed files with 99 additions and 108 deletions

View File

@@ -3,27 +3,25 @@
"version": "1.0.0-alpha.1",
"description": "web vitals",
"private": true,
"type": "module",
"scripts": {
"build": "farm build",
"clean:lock": "rimraf pnpm-lock.yaml && rimraf package.lock.json",
"clean": "rimraf node_modules"
"stub": "pnpm unbuild --stub"
},
"main": "./dist/index.js",
"files": [
"dist"
],
"main": "./dist/index.mjs",
"module": "./dist/index.mjs",
"types": "./dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"require": "./dist/index.js"
"types": "./src/index.ts",
"default": "./dist/index.mjs"
}
},
"dependencies": {
"core-js": "catalog:",
"firebase": "^11.4.0",
"web-vitals": "^4.2.4"
},
"devDependencies": {
"@farmfe/cli": "^1.0.4",
"@farmfe/core": "^1.6.7"
}
}