diff --git a/examples/with-custom-babel-config/.babelrc b/examples/with-custom-babel-config/.babelrc index 8071a05d..cefb715f 100644 --- a/examples/with-custom-babel-config/.babelrc +++ b/examples/with-custom-babel-config/.babelrc @@ -1,6 +1,6 @@ { "presets": [ "next/babel", - "stage-0" + ["@babel/preset-stage-0", { "decoratorsLegacy": true }] ], } diff --git a/examples/with-custom-babel-config/package.json b/examples/with-custom-babel-config/package.json index f06407e7..305ecf89 100644 --- a/examples/with-custom-babel-config/package.json +++ b/examples/with-custom-babel-config/package.json @@ -16,6 +16,6 @@ "author": "", "license": "ISC", "devDependencies": { - "babel-preset-stage-0": "^6.16.0" + "@babel/preset-stage-0": "^7.0.0-beta.46" } }