Skip to content

Commit aa1a655

Browse files
committed
Refactor build script in demo package.json
1 parent c0cc71f commit aa1a655

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

demo/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"scripts": {
77
"start": "vite",
88
"dev": "vite",
9-
"build": "tsc -b && vite build",
9+
"build": "vite build",
1010
"lint": "eslint .",
1111
"preview": "vite preview"
1212
},

demo/tsconfig.app.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,20 +5,20 @@
55
"lib": ["ES2020", "DOM", "DOM.Iterable"],
66
"module": "ESNext",
77
"skipLibCheck": true,
8-
9-
/* Bundler mode */
108
"moduleResolution": "bundler",
119
"allowImportingTsExtensions": true,
1210
"isolatedModules": true,
1311
"moduleDetection": "force",
1412
"noEmit": true,
1513
"jsx": "react-jsx",
16-
17-
/* Linting */
14+
"sourceMap": true,
15+
"inlineSources": true,
1816
"strict": true,
1917
"noUnusedLocals": true,
2018
"noUnusedParameters": true,
21-
"noFallthroughCasesInSwitch": true
19+
"noFallthroughCasesInSwitch": true,
20+
"declaration": true,
21+
"declarationMap": true
2222
},
2323
"include": ["src"]
2424
}

0 commit comments

Comments
 (0)