Skip to content

Load css files via browserify #32

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

Closed
joeybaker opened this issue Aug 20, 2015 · 0 comments
Closed

Load css files via browserify #32

joeybaker opened this issue Aug 20, 2015 · 0 comments

Comments

@joeybaker
Copy link
Contributor

via: #29 (comment)

A thing I've noticed but haven't had time to investigate: css-modulesify outputs no css on subsequent builds with https://github.com/bjoerge/rebundler. I suspect this is because css files aren't being added to the browserify cache because they're required by a custom loader.

joeybaker added a commit to joeybaker/css-modulesify that referenced this issue Sep 11, 2015
joeybaker added a commit to joeybaker/css-modulesify that referenced this issue Sep 11, 2015
Previously, the caches were re-initialized on every plugin
initialization. This caused an incompatibility with other tools like
rebundler or persistify.

This change keeps the original intent of creating caches when the plugin
is initialized, but ensures the process keeps the caches instead of the
plugin instance itself. It’s not really possible to have a cache
conflict since they’re keyed by file.
joeybaker added a commit to joeybaker/css-modulesify that referenced this issue Sep 11, 2015
joeybaker added a commit to joeybaker/css-modulesify that referenced this issue Sep 11, 2015
Previously, the caches were re-initialized on every plugin
initialization. This caused an incompatibility with other tools like
rebundler or persistify.

This change keeps the original intent of creating caches when the plugin
is initialized, but ensures the process keeps the caches instead of the
plugin instance itself. It’s not really possible to have a cache
conflict since they’re keyed by file.
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

No branches or pull requests

1 participant