diff --git a/examples/with-babel-macros/.babelrc b/examples/with-babel-macros/.babelrc index d7d556d1..703a4831 100644 --- a/examples/with-babel-macros/.babelrc +++ b/examples/with-babel-macros/.babelrc @@ -1,4 +1,4 @@ { - "presets": ["react"], - "plugins": ["babel-macros"] + "presets": ["next/babel"], + "plugins": ["babel-plugin-macros"] } diff --git a/examples/with-babel-macros/package.json b/examples/with-babel-macros/package.json index eacad24f..acef83d0 100644 --- a/examples/with-babel-macros/package.json +++ b/examples/with-babel-macros/package.json @@ -15,8 +15,8 @@ "author": "Kent C. Dodds (http://kentcdodds.com/)", "license": "MIT", "devDependencies": { - "babel-macros": "^0.5.1", + "babel-plugin-macros": "^2.4.2", "babel-preset-react": "^6.24.1", - "preval.macro": "^1.0.1" + "preval.macro": "^3.0.0" } }