mirror of
https://github.com/terribleplan/next.js.git
synced 2024-01-19 02:48:18 +00:00
fa5c0b8a47
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
7 lines
102 B
Plaintext
7 lines
102 B
Plaintext
{
|
|
"presets": [
|
|
"next/babel",
|
|
["@babel/preset-stage-0", { "decoratorsLegacy": true }]
|
|
],
|
|
}
|