Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 3498eb1

Browse filesBrowse files
bteacexbrayat
authored andcommitted
refactor: use import attributes instead of assert
1 parent 7fece57 commit 3498eb1
Copy full SHA for 3498eb1

File tree

Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed

‎index.ts

Copy file name to clipboardExpand all lines: index.ts
+1-1Lines changed: 1 addition & 1 deletion
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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.