-
Description 📖When running
For some reason Reproduction 🐞
Vite Ruby Info``` Running via Spring preloader in process 56570 bin/vite present?: true vite_ruby: 1.2.11 vite_rails: 2.0.11 rails: 6.1.3.2 node: v16.0.0 npm: 7.10.0 yarn: 1.22.10 pnpm: ruby: ruby 3.0.1p64 (2021-04-05 revision 0fb782ee38) [x86_64-darwin20]installed packages:
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hi @pepibumur! When asking for help please open a Discussion instead—I intend to use Issues for problems in the library only 😃 Following the settings in tsconfig.json is a feature of esbuild.
Since all modern browsers support |
Beta Was this translation helpful? Give feedback.
Hi @pepibumur!
When asking for help please open a Discussion instead—I intend to use Issues for problems in the library only 😃
Following the settings in tsconfig.json is a feature of esbuild.
es5
is now considered an old dialect and it's not well supported in esbuild, so it won't transpile thees6
const
to itses5
equivalent.Since all modern browsers support
es6
and more recent dialects, it's safe to targetes6
instead, which you already did, cool!