replace assert to the with property in the dynamic import func
This commit is contained in:
parent
fc07b0cd9a
commit
93440fe841
@ -27,7 +27,7 @@ async function loadPasteBarAppPackage() {
|
||||
const packageJsonUrl = pathToFileURL(packageJsonPath).href;
|
||||
|
||||
pastebarAppPackage = await import(packageJsonUrl, {
|
||||
assert: { type: 'json' }
|
||||
with: { type: 'json' }
|
||||
});
|
||||
|
||||
} catch (e) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user