Skip to content

Commit 8118d21

Browse files
committed
refactor: use import attributes instead of assert
1 parent 7fece57 commit 8118d21

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ import getLanguage from './utils/getLanguage'
1919
import renderEslint from './utils/renderEslint'
2020
import { trimBoilerplate, removeCSSImport, emptyRouterConfig } from './utils/trimBoilerplate'
2121

22-
import cliPackageJson from './package.json'
22+
import cliPackageJson from './package.json' with { type: 'json' }
2323

2424
const language = await getLanguage(fileURLToPath(new URL('./locales', import.meta.url)))
2525

0 commit comments

Comments
 (0)