We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
with
assert
1 parent efed3eb commit 0c8dd94Copy full SHA for 0c8dd94
scripts/size-report.js
@@ -111,7 +111,7 @@ async function renderUsages() {
111
*/
112
async function importJSON(filePath) {
113
if (!existsSync(filePath)) return undefined
114
- return (await import(filePath, { assert: { type: 'json' } })).default
+ return (await import(filePath, { with: { type: 'json' } })).default
115
}
116
117
/**
0 commit comments