Skip to content

Commit 9868a6a

Browse files
committed
fix: package import to include type
1 parent b824a6d commit 9868a6a

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

tsdown.config.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
import { defineConfig } from 'tsdown'
22
import Vue from 'unplugin-vue/rolldown'
3-
4-
import pkg from './package.json'
3+
import pkg from './package.json' with { type: 'json' }
54

65
const version = pkg.version
76

0 commit comments

Comments
 (0)