Skip to content

Commit

Permalink
Added webpack resolve conditionNames
Browse files Browse the repository at this point in the history
  • Loading branch information
marekdedic committed May 7, 2024
1 parent 86a9d16 commit 6b158ad
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions frontend.webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ export default (_, options) => ({
alias: {
svelte: path.resolve("node_modules", "svelte/src/runtime"),
},
conditionNames: ["svelte", "require", "node"],
extensions: [".ts", ".js", ".svelte"],
mainFields: ["svelte", "browser", "module", "main"],
},
Expand Down

0 comments on commit 6b158ad

Please sign in to comment.