We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 928fe26 commit 1b24273Copy full SHA for 1b24273
lib/meta.ts
@@ -1,3 +1,3 @@
1
-import { name, version } from '../package.json'
+import { name, version } from '../package.json' with { type: 'json' }
2
3
export { name, version }
tsconfig.json
@@ -1,8 +1,8 @@
{
"compilerOptions": {
- "target": "ES2019",
4
- "module": "node16",
5
- "moduleResolution": "Node16",
+ "target": "esnext",
+ "module": "preserve",
+ "moduleResolution": "bundler",
6
"lib": ["es2020"],
7
"allowJs": true,
8
"checkJs": true,
tsdown.config.ts
@@ -5,6 +5,6 @@ export default defineConfig({
format: ['cjs'],
copy: ['lib/index.d.ts'],
dts: false,
- external: ['typescript'],
+ skipNodeModulesBundle: true,
9
unbundle: true
10
})
0 commit comments