diff --git a/builder.js b/builder.js index a5fd4ef..4a2dfd7 100644 --- a/builder.js +++ b/builder.js @@ -61,7 +61,7 @@ export class Builder { return `// append: ${s}\n${match}` } ).replaceAll( - /^\s*import\s+(\{[^}]+\})\s+from\s+("[^"]+"|')/gms, + /^\s*import\s+(\{[^}]+\})\s+from\s+("[^"]+")/gms, (match, p1, p2) => { const vars = p1.replaceAll(' as ', ': ') const importPath = p2.slice(1, -1)