提交 c5630d3b 编写于 作者: G garnerp 提交者: Tim Neutkens

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

Added next/babel in .babelrc
Upgraded babel-macros to babel-plugin-macros
Upgraded preval.macro
上级 c1037949
{ {
"presets": ["react"], "presets": ["next/babel"],
"plugins": ["babel-macros"] "plugins": ["babel-plugin-macros"]
} }
...@@ -15,8 +15,8 @@ ...@@ -15,8 +15,8 @@
"author": "Kent C. Dodds <kent@doddsfamily.us> (http://kentcdodds.com/)", "author": "Kent C. Dodds <kent@doddsfamily.us> (http://kentcdodds.com/)",
"license": "MIT", "license": "MIT",
"devDependencies": { "devDependencies": {
"babel-macros": "^0.5.1", "babel-plugin-macros": "^2.4.2",
"babel-preset-react": "^6.24.1", "babel-preset-react": "^6.24.1",
"preval.macro": "^1.0.1" "preval.macro": "^3.0.0"
} }
} }
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册