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

fix: Adding css-loader v4 support #40

Conversation

takahirohonda
Copy link
Contributor

What is it for?

Currently, the library only supports css-loader up to version 3. From version 4, the local export becomes CSS_LOADER_EXPORT.locals instead of exports.locals. I would like to add the support for version 4. This is the fix for issue number 39: #39

What have I done?

Added the function to split content with CSS_LOADER_EXPORT.locals if splitting with exports.local fails. Then use the function instead.

Updated the css-loader version for testing.

BREAKING CHANGE: Template update
Copy link
Collaborator

@mattcompiles mattcompiles left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the PR.

@mattcompiles
Copy link
Collaborator

Before merging, just wondering why you committed with a breaking change message? From my perspective this change is backwards compatible?

@takahirohonda
Copy link
Contributor Author

takahirohonda commented Sep 22, 2020

Before merging, just wondering why you committed with a breaking change message? From my perspective this change is backwards compatible?

Oops, I think I made a mistake... No this is not a breaking change. Thanks for reviewing PR😀

@mattcompiles mattcompiles merged commit bb4892a into seek-oss:master Sep 22, 2020
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.

3 participants