1
0
Sv443 1 жил өмнө
parent
commit
5fcd17b726
1 өөрчлөгдсөн 2 нэмэгдсэн , 1 устгасан
  1. 2 1
      webpack.config.js

+ 2 - 1
webpack.config.js

@@ -24,7 +24,8 @@ const getConfig = (env) => ({
   entry: "./src/index.ts",
   output,
   experiments: {
-    // userscripts are automatically wrapped in an IIFE by the browser extension, so this can be enabled
+    // userscripts are automatically wrapped in an IIFE by the browser extension,
+    // also all modern browsers support ESM so this can safely be enabled
     outputModule: true,
   },
   mode: env.mode ?? defaultMode,