mirror of
https://github.com/smartxworks/sunmao-ui.git
synced 2025-04-18 22:00:22 +08:00
revert build to es5
This commit is contained in:
parent
4a1b2bc5f4
commit
1f6090868e
@ -21,7 +21,7 @@
|
||||
"lib"
|
||||
],
|
||||
"scripts": {
|
||||
"build": "tsup src/index.ts --format cjs,esm,iife --legacy-output --target es5",
|
||||
"build": "tsup src/index.ts --format cjs,esm,iife --legacy-output",
|
||||
"dev": "npm run build -- --watch",
|
||||
"typings": "tsc --emitDeclarationOnly",
|
||||
"test": "jest",
|
||||
|
@ -15,7 +15,7 @@
|
||||
],
|
||||
"scripts": {
|
||||
"dev": "vite",
|
||||
"build": "tsup src/main.tsx --format cjs,esm,iife --legacy-output --inject ../runtime/react-import.js --clean --no-splitting --sourcemap --target es5",
|
||||
"build": "tsup src/main.tsx --format cjs,esm,iife --legacy-output --inject ../runtime/react-import.js --clean --no-splitting --sourcemap",
|
||||
"typings": "tsc --emitDeclarationOnly",
|
||||
"test": "jest",
|
||||
"prepublish": "npm run build && npm run typings"
|
||||
|
@ -23,7 +23,7 @@
|
||||
"scripts": {
|
||||
"dev": "vite",
|
||||
"test": "jest",
|
||||
"build": "tsup src/index.ts --format cjs,esm,iife --legacy-output --inject ./react-import.js --clean --no-splitting --sourcemap --target es5",
|
||||
"build": "tsup src/index.ts --format cjs,esm,iife --legacy-output --inject ./react-import.js --clean --no-splitting --sourcemap",
|
||||
"typings": "tsc --emitDeclarationOnly",
|
||||
"lint": "eslint src --ext .ts",
|
||||
"prepublish": "npm run build && npm run typings"
|
||||
|
Loading…
x
Reference in New Issue
Block a user