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
22 lines
428 B
JSON
22 lines
428 B
JSON
{
|
|
"name": "with-custom-babel-config",
|
|
"version": "1.0.0",
|
|
"description": "This example features:",
|
|
"main": "index.js",
|
|
"scripts": {
|
|
"dev": "next",
|
|
"build": "next build",
|
|
"start": "next start"
|
|
},
|
|
"dependencies": {
|
|
"next": "latest",
|
|
"react": "^16.0.0",
|
|
"react-dom": "^16.0.0"
|
|
},
|
|
"author": "",
|
|
"license": "ISC",
|
|
"devDependencies": {
|
|
"@babel/preset-stage-0": "^7.0.0-beta.46"
|
|
}
|
|
}
|