Skip to content

Commit 3e2666c

Browse files
committed
cleanup
1 parent b68759b commit 3e2666c

File tree

3 files changed

+13
-21
lines changed

3 files changed

+13
-21
lines changed

Diff for: rollup.config.js

+12-2
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,18 @@ export default [
2828
nodeResolve(),
2929
commonjs(),
3030
typescript({
31-
tsconfig: './tsconfig.build.json',
32-
useTsconfigDeclarationDir: true
31+
tsconfig: 'tsconfig.node.json',
32+
check: false,
33+
useTsconfigDeclarationDir: true,
34+
tsconfigOverride: {
35+
compilerOptions: {
36+
sourceMap: true,
37+
declaration: true,
38+
declarationMap: true,
39+
target: "ESNext",
40+
declarationDir: "./dist/types",
41+
}
42+
}
3343
})
3444
]
3545
}

Diff for: tsconfig.app.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,5 +23,5 @@
2323
"noUnusedParameters": true,
2424
"noFallthroughCasesInSwitch": true
2525
},
26-
"include": ["src/**/*.ts", "src/**/*.tsx", "src/**/*.vue", "index.ts", "vite-env.d.ts"]
26+
"include": ["src/**/*.ts", "src/**/*.tsx", "src/**/*.vue"]
2727
}

Diff for: tsconfig.build.json

-18
This file was deleted.

0 commit comments

Comments
 (0)