Skip to content

Add default export to definition file #1

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

Merged
merged 1 commit into from
Dec 4, 2017
Merged

Add default export to definition file #1

merged 1 commit into from
Dec 4, 2017

Conversation

sarink
Copy link
Owner

@sarink sarink commented Dec 4, 2017

When using the style-loader, the locals object gets invisibly murdered. Fixes Jimdo#20. If someone's not using the style-loader they can import {locals}, and if they are using the style-loader, they can use the default import. This should make everyone happy, and be fully backwards-compatible.

When using the `style-loader`, the `locals` object gets invisibly murdered. Fixes Jimdo#20. If someone's not using the `style-loader` they can `import {locals}`, and if they _are_ using the `style-loader`, they can use the default import. This should make everyone happy, and be fully backwards-compatible.
@sarink sarink merged commit d2e6894 into master Dec 4, 2017
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

Successfully merging this pull request may close these issues.

1 participant