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

Accept custom css-loader and style-loader config in @embroider/webpack #1055

Merged

Conversation

dfreeman
Copy link
Contributor

This PR allows users to provide custom configuration for style-loader and css-loader in @embroider/webpack's packagerConfig.

My concrete motivator here is wanting to experiment with css-loader's built-in CSS Modules support, but this change itself is based on previous work to let users customize thread-loader and babel-loader config, as well as a similar PR in ember-auto-import.

@dfreeman
Copy link
Contributor Author

dfreeman commented Dec 20, 2021

The test failures here look related to emberjs/ember-cli-babel#425, so hopefully they should go away on a re-run?

Edit: and now it's ECONNREFUSED in volta-cli/action 😅

@ef4 ef4 merged commit 0079183 into embroider-build:master Dec 21, 2021
@ef4 ef4 added the enhancement New feature or request label Dec 21, 2021
@dfreeman dfreeman deleted the customize-css-and-style-loader-config branch December 21, 2021 19:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants