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

Webpack incremental build does not work #246

Open
Leekao opened this issue Dec 21, 2024 · 2 comments
Open

Webpack incremental build does not work #246

Leekao opened this issue Dec 21, 2024 · 2 comments

Comments

@Leekao
Copy link

Leekao commented Dec 21, 2024

According to Webpack5 documentation in order to utilize incremental build I need to pass cache object with type: "filesystem" however that does nothing when I pass it through Grunt-webpack and the documentation for Grunt-webpack refer to cache as a Boolean.

@Leekao
Copy link
Author

Leekao commented Dec 23, 2024

If anyone in the future wonders how I resolved this issue the solution for me was to remove grunt-webpack and to run webpack from cli using grunt-shell and it indeed builds incrementally.

@evenstensberg
Copy link
Member

Makes sense. Grunt suppress output and input a lot more than needed. Like error handling.

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

2 participants