We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 119cd4e commit fcdedc1Copy full SHA for fcdedc1
1 file changed
src/index.js
@@ -46,6 +46,10 @@ export default class WorkerPlugin {
46
});
47
return false;
48
}
49
+ if (/^(https?:)?\/\//i.test(dep.string)) {
50
+ // Ignore absolute URL workers
51
+ return false;
52
+ }
53
54
const optsExpr = expr.arguments[1];
55
let typeModuleExpr = Types.objectProperty(
0 commit comments