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:
parent
c1037949fd
commit
c5630d3bc5
|
@ -1,4 +1,4 @@
|
|||
{
|
||||
"presets": ["react"],
|
||||
"plugins": ["babel-macros"]
|
||||
"presets": ["next/babel"],
|
||||
"plugins": ["babel-plugin-macros"]
|
||||
}
|
||||
|
|
|
@ -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"
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue