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

🐛 Unknown plugin *** in node_modules/**/.babelrc #435

Closed
Olian04 opened this issue Dec 29, 2017 · 1 comment
Closed

🐛 Unknown plugin *** in node_modules/**/.babelrc #435

Olian04 opened this issue Dec 29, 2017 · 1 comment

Comments

@Olian04
Copy link

Olian04 commented Dec 29, 2017

Parcel fails to bundle a project if one of its dependancies contains a .babelrc file with a plugin that you yourself are not using...

image

🤔 Expected Behavior

I expect parcel to not care what plugins a dep uses in its dev environment...

😯 Current Behavior

As you can see in the image, parcel is complaining that the .babelrc.env.development file of the react-dates dependency is using a plugin that the current project isn't using.

💁 Possible Solution

Don't parse transpiler configs for node modules.

🌍 Your Environment

Software Version(s)
Parcel 1.3.1
Node 9.3.0
Yarn 1.3.2
Operating System Ubuntu 17.04
@Olian04 Olian04 changed the title 🐛 Unknown plugin *** in nodemodules/**/.bablerc 🐛 Unknown plugin *** in node_modules/**/.bablerc Dec 29, 2017
@Olian04 Olian04 changed the title 🐛 Unknown plugin *** in node_modules/**/.bablerc 🐛 Unknown plugin *** in node_modules/**/.babelrc Dec 29, 2017
@devongovett
Copy link
Member

Dup of #13.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants