Skip to content
Merged
Prev Previous commit
Next Next commit
Disable compile time evaluation of import.meta.url
  • Loading branch information
bjoluc committed Mar 26, 2022
commit f19ab9c21d83a7ec1f1a65e36a4357bfd26b0553
5 changes: 4 additions & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -376,7 +376,10 @@ function ncc (
loader: eval('__dirname + "/loaders/shebang-loader.js"')
}]
}
]
],
parser: {
javascript: { importMeta: false },
},
Comment thread
bjoluc marked this conversation as resolved.
},
plugins
});
Expand Down