Skip to content

Commit 3498eb1

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

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.ts

Lines 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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy