-
Notifications
You must be signed in to change notification settings - Fork 43
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
change css file issue #36
Comments
Looks like I need to add |
I am using it too but I was wondering if there is any other option. |
I'll look in babel sources. Looks like there is no other options in documentation. Any help will be appreciated. |
Looks like babel plugin |
Thank you @istarkov . It sounds good |
https://phabricator.babeljs.io/T1186 It is already where, will read when come 2 home. |
PR #37, now in npm version |
Ouch. That's why I get this warning
|
I guess that they closed the ticket as resolved without any fix |
As plugins has no knowledge about caching, there is no way to pass additional cache key information about revalidation etc. And I have zero idea what I can suggest to babel to make cache revalidation algorithm smart. |
Yep. I understand. The interesting thing is that the Webpack is working with the babel(without BABEL_DISABLE_CACHE). Maybe they are able to force the babel somehow. |
There is no need for webpack to re-transpile js files if something has changed in css file. Because it uses something like |
Thanks for the update guys 👍 The problem is that it slows down our build script, it's understandable because it's disabling the cache. If you have any other workarounds or follow up on this issue it would be very much appreciated. |
Hi
I have two files index.js and index.css (index.js requires index.css)
When I change index.css it will use old version.
I need to change index.js too if I want to get latest noncached index.css.
Anyway thank you for this great package :)
The text was updated successfully, but these errors were encountered: