This website requires JavaScript.
Explore
Help
Sign In
terribleplan
/
next.js
Watch
1
Star
0
Fork
You've already forked next.js
0
mirror of
https://github.com/terribleplan/next.js.git
synced
2024-01-19 02:48:18 +00:00
Code
Issues
Releases
Wiki
Activity
ae7e53239a
next.js
/
examples
/
with-custom-babel-config
/
.babelrc
7 lines
102 B
Plaintext
Raw
Normal View
History
Unescape
Escape
Add support for using .babelrc in the app root. (#493) * Add support for using .babelrc in the app root. * Update the README about the .babelrc usage. * Fix a typo. * Remove additional example usage.
2016-12-26 18:13:45 +00:00
{
"presets": [
"next/babel",
Fix example with-custom-babel-config: update to Babel 7 (#4349) The option `"decoratorsLegacy": true` seems mandatory, fails without it: > The new decorators proposal is not supported yet. You must pass the `"decoratorsLegacy": true` option to @babel/preset-stage-0
2018-05-12 22:47:56 +00:00
["@babel/preset-stage-0", { "decoratorsLegacy": true }]
Add support for using .babelrc in the app root. (#493) * Add support for using .babelrc in the app root. * Update the README about the .babelrc usage. * Fix a typo. * Remove additional example usage.
2016-12-26 18:13:45 +00:00
],
}
Reference in a new issue
Copy permalink