Buckets:
Using a custom Babel config
This example features:
- An app using proposed do expressions.
- It uses babel-preset-stage-0, which allows us to use above JavaScript feature.
- It uses '.babelrc' file in the app directory to add above preset.
Most of the time, when writing a custom
.babelrcfile, you need to addnext/babelas a preset.
Deploy your own
How to use
Execute create-next-app with npm, Yarn, or pnpm to bootstrap the example:
npx create-next-app --example with-custom-babel-config with-custom-babel-config-app
yarn create next-app --example with-custom-babel-config with-custom-babel-config-app
pnpm create next-app --example with-custom-babel-config with-custom-babel-config-app
Deploy it to the cloud with Vercel (Documentation).
Xet Storage Details
- Size:
- 1.42 kB
- Xet hash:
- 18a84b49e89a562710783863775053667cb5c161422b814e6c1ea66f4930634b
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.