Transpile your Denali app using Babel.
$ denali install @denali-js/babel
By default, Babel does not do anything to your code - all transforms are opt-in. When you install
this addon, it will generate a recommended default .babelrc
file at the root of your Denali app.
This file is how you tell Babel what transforms to apply, as well which files to exclude from
transformation.
For more details, check out the Babel docs.