Skip to content

Commit 2806a2e

Browse files
committed
fix: working dev command and better tsconfig
1 parent cbfadf6 commit 2806a2e

File tree

3 files changed

+4
-15
lines changed

3 files changed

+4
-15
lines changed

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
],
1717
"scripts": {
1818
"preinstall": "npx only-allow pnpm",
19-
"dev": "rollup -cw",
19+
"dev": "rollup -w --config rollup.config.ts --configPlugin typescript",
2020
"build": "rollup --config rollup.config.ts --configPlugin typescript --environment NODE_ENV:production",
2121
"docs:generate": "typedoc",
2222
"docs:serve": "serve docs",

src/tsconfig.json

-12
This file was deleted.

tsconfig.json

+3-2
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,12 @@
22
"compilerOptions": {
33
"target": "ESNext",
44
"module": "ESNext",
5-
"moduleResolution": "node",
5+
"moduleResolution": "Bundler",
66
"resolveJsonModule": true,
77
"strict": true,
88
"outDir": "dist",
9-
"allowSyntheticDefaultImports": true
9+
"allowSyntheticDefaultImports": true,
10+
"esModuleInterop": true
1011
},
1112
"include": [
1213
"./**/*"

0 commit comments

Comments
 (0)