Skip to content

Commit

Permalink
add target to esbuild options
Browse files Browse the repository at this point in the history
  • Loading branch information
koddsson committed Oct 14, 2023
1 parent dfabd91 commit 7f44209
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ import esbuild from 'rollup-plugin-esbuild'
export default {
input: 'index.html',
output: {dir: 'dist'},
plugins: [esbuild(), html({input: 'index.html'})]
plugins: [esbuild({target: 'es2022'}), html({input: 'index.html'})]
}

0 comments on commit 7f44209

Please sign in to comment.