397 B
397 B
Fix dynamic import when the module source is a template string (#16267 by @fisker)
// Input
const module = await import(`data:text/javascript,
console.log("RUN");
`);
// Prettier stable
const module = await (`data:text/javascript,
console.log("RUN");
`);
// Prettier main
const module = await import(`data:text/javascript,
console.log("RUN");
`);