Skip to content

Commit

Permalink
webpack.config.js: shorten mainFields
Browse files Browse the repository at this point in the history
  • Loading branch information
theonlypwner committed Aug 24, 2024
1 parent f48436b commit 73784e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ for (let e of fg.sync('*.scss', { cwd: path.resolve(__dirname, 'styles') })) {
entry[e.slice(0, -5) + '.css'] = './styles/' + e
}

const mainFields = ['svelte', 'browser', 'module', 'main']
const mainFields = ['svelte', '...']

module.exports = {
mode: devMode ? 'development' : 'production',
Expand Down

0 comments on commit 73784e7

Please sign in to comment.