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 HMR support for CSS modules #438

Merged
merged 2 commits into from Jun 8, 2020
Merged

Fix HMR support for CSS modules #438

merged 2 commits into from Jun 8, 2020

Conversation

stephtr
Copy link
Contributor

@stephtr stephtr commented Jun 7, 2020

According to dev.ts#297, '.proxy.js' shouldn't get appended to CSS module files. With this fix in place, HMR is working for CSS modules.

According to [dev.ts#297](https://github.com/pikapkg/snowpack/blob/62a00e857aec3101e359dfebf00c3d25ce9fbc83/src/commands/dev.ts#L297), `'.proxy.js'` shouldn't get appended to CSS module files. With this fix in place, HMR is working for CSS modules.
Copy link
Owner

@FredKSchott FredKSchott left a comment

Choose a reason for hiding this comment

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

LGTM

@FredKSchott FredKSchott merged commit 4ebb6c8 into FredKSchott:master Jun 8, 2020
@stephtr stephtr deleted the patch-1 branch June 8, 2020 16:57
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.

None yet

2 participants