Skip to content

Commit

Permalink
fix: Fix for the failed yarn build
Browse files Browse the repository at this point in the history
  • Loading branch information
hangxingliu committed May 5, 2024
1 parent 3848411 commit f68b1ff
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@ const webExtensionConfig = {
resolve: {
mainFields: ["browser", "module", "main"], // look for `browser` entry point in imported node modules
extensions: [".ts", ".js"], // support ts-files and js-files
extensionAlias: {
".js": [".ts", ".js"],
},
alias: {
// provides alternate implementation for node module and source files
},
Expand Down

0 comments on commit f68b1ff

Please sign in to comment.