-
Notifications
You must be signed in to change notification settings - Fork 71
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
Issue with webpack cache-loader。 #126
Comments
Bye the way, the build env is But it is all right in the dev environment, i don't what's the different between them. |
It sounds like this is what #125 is intended to solve. |
Fixes sveltejs#139, Fixes sveltejs#131, Fixes sveltejs#126 Co-authored-by: Smittyvb <[email protected]>
Fixes sveltejs#139, Fixes sveltejs#131, Fixes sveltejs#126 Co-authored-by: Smittyvb <[email protected]>
Fixes sveltejs#139, Fixes sveltejs#131, Fixes sveltejs#126 Co-authored-by: Smittyvb <[email protected]>
When i build my svelte app by webpack with
cache-loader
introduced, i've got an error:And then i print out the
stats
object into the terminal to find out what the 'mtime' key is, the logs are as below:According to these, we can see the
mtime
is not a date object inVirtualStats
which is provided insvelte-loader/lib/virtual.js
:But webpack
cache-loader
treats themtime
as a date object, and will invoke itsgetTime
method, that's the problem!The text was updated successfully, but these errors were encountered: