Skip to content

Commit

Permalink
feat: add babel-macros 🎣
Browse files Browse the repository at this point in the history
  • Loading branch information
Kent C. Dodds committed Sep 8, 2017
1 parent 7a4af66 commit 23395d2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
"arrify": "^1.0.1",
"babel-cli": "^6.26.0",
"babel-jest": "^20.0.3",
"babel-macros": "^1.0.0",
"babel-plugin-external-helpers": "^6.22.0",
"babel-plugin-transform-class-properties": "^6.24.1",
"babel-plugin-transform-inline-environment-variables": "^0.2.0",
Expand Down
1 change: 1 addition & 0 deletions src/config/babelrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ module.exports = {
ifAnyDep(['react', 'preact'], require.resolve('babel-preset-react')),
].filter(Boolean),
plugins: [
require.resolve('babel-macros'),
isRollup ? require.resolve('babel-plugin-external-helpers') : null,
// we're actually not using JSX at all, but I'm leaving this
// in here just in case we ever do (this would be easy to miss).
Expand Down

0 comments on commit 23395d2

Please sign in to comment.