We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2d17aa2 commit 7ac2535Copy full SHA for 7ac2535
packages/plugin-legacy/src/index.ts
@@ -720,7 +720,7 @@ function polyfillsPlugin(
720
load(id) {
721
if (id === polyfillId) {
722
return (
723
- [...imports].map((i) => `import "${i}";`).join('') +
+ [...imports].map((i) => `import ${JSON.stringify(i)};`).join('') +
724
(excludeSystemJS ? '' : `import "systemjs/dist/s.min.js";`)
725
)
726
}
0 commit comments