Skip to content

Commit

Permalink
add commit for better explanation
Browse files Browse the repository at this point in the history
  • Loading branch information
Christian Pansch committed Mar 14, 2024
1 parent 0602955 commit 8356c77
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions esbuild.js
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,9 @@ const options = {
visitor: compileWithCssVariables(),
targets: { // only support es2020 browser
// only supports browserList format
// https://lightningcss.dev/transpilation.html
// list of supported browser version per es version
// https://github.com/evanw/esbuild/issues/121#issuecomment-646956379
chrome: (80 << 16), // 80
safari: (13 << 16) | (1 << 8), // 13.1
firefox: (72 << 16), // 72
Expand Down

0 comments on commit 8356c77

Please sign in to comment.