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

on rebuild with warm caches the static assets are missing #378

Closed
KnisterPeter opened this issue Jun 11, 2018 · 3 comments
Closed

on rebuild with warm caches the static assets are missing #378

KnisterPeter opened this issue Jun 11, 2018 · 3 comments

Comments

@KnisterPeter
Copy link

Expected Behavior

Static assets should be written to disk when restarting the webpack process with an existing cache.

Actual Behavior

Static assets (e.g. images or fonts) are missing (at least when copied with CopyWebpackPlugin).

Is an error being thrown?

No, it builds without error.

Additional info

May be related to #357

@jamalsoueidan
Copy link

I moved to cache-loader for this specific issue with assets, didn't find a solution.

@mzgoddard
Copy link
Owner

@KnisterPeter @jamalsoueidan Are you experiencing #367? Are the assets that are not exported depended on by your css? Which plugin or loader is not exporting assets when combined with hard-source-webpack-plugin?

@KnisterPeter
Copy link
Author

We just use the file-loader to import font files (for example). After restarting the webpack process the font files are not emitted to the output directory.

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

3 participants