Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update babel.config.js so build artifacts are compiled to ES5. (rjsf-…
…team#3304) dts-cli will utilize the babel.config.js file on build. The `targets` option for the @babel/preset-env plugin will determine what features the compiled output will target. Per babel docs: > When no targets are specified: Babel will assume you are targeting the oldest browsers possible. For example, @babel/preset-env will transform all ES2015-ES2020 code to be ES5 compatible. This approach will allow us to continue to write ESNext code while we can be confident RJSF users will still consume ES5 code.
- Loading branch information