mirror of
https://github.com/home-assistant/frontend.git
synced 2025-10-08 19:29:53 +00:00
Ignore proxy-polyfill in workers (#6011)
This commit is contained in:
@@ -25,7 +25,7 @@ const defaultOpts = {
|
||||
// A RegExp to find `new Workers()` calls. The second capture group _must_
|
||||
// capture the provided file name without the quotes.
|
||||
workerRegexp: /new Worker\((["'])(.+?)\1(,[^)]+)?\)/g,
|
||||
plugins: ["node-resolve", "commonjs", "babel"],
|
||||
plugins: ["node-resolve", "commonjs", "babel", "terser", "ignore"],
|
||||
};
|
||||
|
||||
async function getBundledWorker(workerPath, rollupOptions) {
|
||||
|
Reference in New Issue
Block a user