refactor: drop webextension-polyfill for native extension apis

This commit is contained in:
Jones Jankovic committed 2026-11-02 20:15:44 +10:30
1 parent 1aae8069f9
commit 6b28d21a6c
87 files changed
+134 -166

No files matched your search

+1 -1
View File
@@ -24,7 +24,7 @@ export default function InlineWorkerDevPlugin(): Plugin {
"node_modules/@huggingface/transformers/dist/transformers.web.js",
),
},
external: ["webextension-polyfill"],
external: ["@/lib/browser"],
});
const workerCode = result.outputFiles[0].text;