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

Disabling webpack cache doesn't work #3361

Open
amalichev opened this issue Jun 6, 2023 · 0 comments
Open

Disabling webpack cache doesn't work #3361

amalichev opened this issue Jun 6, 2023 · 0 comments

Comments

@amalichev
Copy link

  • Laravel Mix Version: 5.0.9
  • Node Version: v16.17.0
  • NPM Version: 9.2.0
  • OS: Mac|Ubuntu

Description:

According to the webpack documentation https://webpack.js.org/configuration/cache/ - we have the ability to disable cache and the creation of the node_modules/.cache directory, but this setting doesn't work.

Steps To Reproduce:

Add mix.webpackConfig({ cache: false }) to webpack.mix.js file then run compilation. node_modules/.cache directory will still be created

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