From c03eae02a886e6e71a6fa12fb69dea2b1ead4f11 Mon Sep 17 00:00:00 2001 From: Yuki Hattori Date: Sun, 3 Oct 2021 08:14:17 +0900 Subject: [PATCH] Fix resolution of abort-controller module for browser See also: https://github.com/mysticatea/abort-controller/issues/32 --- webpack.web.config.js | 1 + 1 file changed, 1 insertion(+) diff --git a/webpack.web.config.js b/webpack.web.config.js index fa0471fc..aab65c56 100644 --- a/webpack.web.config.js +++ b/webpack.web.config.js @@ -19,6 +19,7 @@ module.exports = (env) => { __dirname, './src/web/commands/export' ), + 'abort-controller$': require.resolve('abort-controller/browser.mjs'), }, fallback: { // Node.js polyfills