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 6b7b19d commit d2c9cd6Copy full SHA for d2c9cd6
src/core/File.ts
@@ -409,7 +409,7 @@ export class File {
409
}
410
let targetContent = localContent || this.contents;
411
if (targetContent) {
412
- const expression = /(\s+|^)(import\()/g;
+ const expression = /(\s+|^|\(|:)(import\()/g;
413
if (expression.test(targetContent)) {
414
targetContent = targetContent.replace(expression, "$1$fsmp$(");
415
if (this.context.fuse && this.context.fuse.producer) {
0 commit comments