Skip to content

Commit

Permalink
docs: extend default configuration for mainFields and conditionNames (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
non25 authored Jun 4, 2024
1 parent f2a7bc1 commit c8a786f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ Configure inside your `webpack.config.js`:
svelte: path.resolve('node_modules', 'svelte/src/runtime') // Svelte 3: path.resolve('node_modules', 'svelte')
},
extensions: ['.mjs', '.js', '.svelte'],
mainFields: ['svelte', 'browser', 'module', 'main'],
conditionNames: ['svelte', 'browser', 'import']
mainFields: ['svelte', 'browser', '...'],
conditionNames: ['svelte', 'browser', '...'],
},
module: {
rules: [
Expand Down

0 comments on commit c8a786f

Please sign in to comment.