Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove "macros" from the list of cli babel plugins #360

Merged
merged 2 commits into from
Oct 10, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion packages/cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@
"mockdate": "^2.0.2"
},
"peerDependencies": {
"babel-core": "6.x || ^7.0.0-bridge.0"
"babel-core": "6.x || ^7.0.0-bridge.0",
"babel-plugin-macros": "^2.4.2"
}
}
1 change: 0 additions & 1 deletion packages/cli/src/api/extractors/babel.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ const extractor: ExtractorType = {
// here until we have a better way to run extract-messages plugin
// *after* all plugins/presets.
// Transform plugins are idempotent, so they can run twice.
"macros",
linguiTransformJs,
linguiTransformReact,
[linguiExtractMessages, { localeDir }],
Expand Down