1
0
Fork 0
mirror of https://github.com/terribleplan/next.js.git synced 2024-01-19 02:48:18 +00:00
next.js/examples/with-custom-babel-config
Arunoda Susiripala 1719738ed1 Allow to customize our babel configuration (#466)
* Add a way to customize babel configurations.

* Add babel configuration docs to README.
2016-12-21 17:36:00 -08:00
..
pages Allow to customize our babel configuration (#466) 2016-12-21 17:36:00 -08:00
next.config.js Allow to customize our babel configuration (#466) 2016-12-21 17:36:00 -08:00
package.json Allow to customize our babel configuration (#466) 2016-12-21 17:36:00 -08:00
README.md Allow to customize our babel configuration (#466) 2016-12-21 17:36:00 -08:00

Example app using 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.

How to run it

npm install
npm run dev