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;
|
const packageJsonUrl = pathToFileURL(packageJsonPath).href;
|
||||||
|
|
||||||
pastebarAppPackage = await import(packageJsonUrl, {
|
pastebarAppPackage = await import(packageJsonUrl, {
|
||||||
assert: { type: 'json' }
|
with: { type: 'json' }
|
||||||
});
|
});
|
||||||
|
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user