mirror of
https://github.com/tusen-ai/naive-ui.git
synced 2025-01-30 12:52:43 +08:00
build: add tsc --force flag when build
This commit is contained in:
parent
a0060f138a
commit
b5680a84c3
@ -1 +1,2 @@
|
||||
~*
|
||||
~*
|
||||
*.tsbuildinfo
|
@ -7,8 +7,8 @@
|
||||
"scripts": {
|
||||
"start": "npm run dev",
|
||||
"deprecated:build:icons": "npm run clean && node scripts/pre-build/deprecated-build-icons.js",
|
||||
"build:js": "npm run gen-version && npm run clean && tsc -b tsconfig.esm.json && tsc -b tsconfig.cjs.json && node scripts/post-build",
|
||||
"build:package": "npm run gen-version && npm run clean && node scripts/pre-build/deprecated-build-icons.js && tsc -b tsconfig.esm.json && tsc -b tsconfig.cjs.json && node scripts/post-build",
|
||||
"build:js": "npm run gen-version && npm run clean && tsc -b --force tsconfig.esm.json && tsc -b --force tsconfig.cjs.json && node scripts/post-build",
|
||||
"build:package": "npm run gen-version && npm run clean && node scripts/pre-build/deprecated-build-icons.js && tsc -b --force tsconfig.esm.json && tsc -b --force tsconfig.cjs.json && node scripts/post-build",
|
||||
"build:site": "./scripts/pre-build-site/pre-build-site.sh && cross-env NODE_ENV=production NODE_OPTIONS=--max-old-space-size=4096 vite build && ./scripts/post-build-site/post-build-site.sh",
|
||||
"clean": "rm -rf site lib es node_modules/naive-ui",
|
||||
"dev": "npm run clean && npm run gen-version && cross-env NODE_ENV=development vite",
|
||||
@ -33,7 +33,6 @@
|
||||
"compat",
|
||||
"es",
|
||||
"lib",
|
||||
"themes",
|
||||
"README.md"
|
||||
],
|
||||
"lint-staged": {
|
||||
|
Loading…
Reference in New Issue
Block a user