Skip to content

Commit 67be41e

Browse files
committed
json module is stable now
1 parent 326f383 commit 67be41e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nuxt.config.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import pkgJson from './package.json';
1+
import pkgJson from './package.json' with { type: 'json' };
22

33
const composeVersion = () => {
44
if (!pkgJson || !pkgJson.version) {

0 commit comments

Comments
 (0)