Skip to content

Commit

Permalink
Fixed conditionNames webpack warning message
Browse files Browse the repository at this point in the history
  • Loading branch information
kakajuro committed Oct 14, 2024
1 parent a2dfab9 commit 605689b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion webpack/webpack.common.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,8 @@ module.exports = {
svelte: path.dirname(require.resolve('svelte/package.json'))
},
extensions: ['.mjs', '.js', '.ts', '.svelte'],
mainFields: ['svelte', 'browser', 'module', 'main']
mainFields: ['svelte', 'browser', 'module', 'main'],
conditionNames: ['svelte', 'browser']
},
plugins: [
new MiniCssExtractPlugin({
Expand Down

0 comments on commit 605689b

Please sign in to comment.