1
0
Fork 0
mirror of https://github.com/terribleplan/next.js.git synced 2024-01-19 02:48:18 +00:00

Fix with-babel-macros by upgrading packages (#5762)

Added next/babel in .babelrc
Upgraded babel-macros to babel-plugin-macros
Upgraded preval.macro
This commit is contained in:
garnerp 2018-11-28 14:34:46 -05:00 committed by Tim Neutkens
parent c1037949fd
commit c5630d3bc5
2 changed files with 4 additions and 4 deletions

View file

@ -1,4 +1,4 @@
{
"presets": ["react"],
"plugins": ["babel-macros"]
"presets": ["next/babel"],
"plugins": ["babel-plugin-macros"]
}

View file

@ -15,8 +15,8 @@
"author": "Kent C. Dodds <kent@doddsfamily.us> (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"
}
}