diff --git a/examples/with-custom-babel-config/.babelrc b/examples/with-custom-babel-config/.babelrc index 8071a05d1c994..cefb715fa1e29 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 f06407e7d2f67..305ecf89845f9 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" } }