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

v0.1.3 is breaking changes? #31

Closed
iam4x opened this issue Apr 26, 2016 · 5 comments
Closed

v0.1.3 is breaking changes? #31

iam4x opened this issue Apr 26, 2016 · 5 comments
Labels

Comments

@iam4x
Copy link

iam4x commented Apr 26, 2016

Hello,

We use this plugin in our babel preset (https://github.com/savemysmartphone/babel-preset-save), the minor update broke our builds.

I had to suffix the require() call to the plugin with .default see here: savemysmartphone/babel-preset-save@3c9d679

Is this normal behaviour? What happened? I can't find in the commit, this is just for personal knowledge. Thanks.

@59naga 59naga added the bug label Apr 26, 2016
@59naga
Copy link
Owner

59naga commented Apr 26, 2016

hmm... 0.1.3 no longer used the module.exports.
It has broken the compatibility of babel-presets.

@iam4x
Copy link
Author

iam4x commented Apr 26, 2016

Alright, thank's. Would be great to publish a major for breaking changes like that 👍

@jquense
Copy link

jquense commented Apr 26, 2016

this plugin needs to use itself :P

jquense added a commit to jquense/babel-plugin-add-module-exports that referenced this issue Apr 26, 2016
@lijunle
Copy link
Contributor

lijunle commented Apr 26, 2016

It is on track actually 😄 #10

@59naga 59naga closed this as completed in 8471534 Apr 26, 2016
59naga added a commit that referenced this issue Apr 26, 2016
fix #31 plugin should export using module.exports
@59naga
Copy link
Owner

59naga commented Apr 26, 2016

this issue has been resolved in v0.1.4. thanks @iam4x 👍

iam4x added a commit to savemysmartphone/babel-preset-save that referenced this issue Apr 27, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
4 participants