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

Fix Webpack cache invalidation #230

Merged
merged 1 commit into from
Nov 29, 2023
Merged

Conversation

malash
Copy link
Collaborator

@malash malash commented Nov 29, 2023

The Webpack cache should be invalidated if:

  1. The build target has changed, i.e., when using yarn start [target].
  2. The GojiJS version has changed, typically after updating the GojiJS CLI.
  3. There has been a change in the webpack.config.js. This recommendation is provided in the Webpack cache configuration documentation. Additionally, this has been implemented in Webpack CLI.
  4. There is a change in the goji.config.js. This is crucial because users often modify goji.config.js to adjust the build configuration.

@malash malash merged commit b361ca7 into main Nov 29, 2023
18 checks passed
@malash malash deleted the fix-webpack-cache-invalidation branch November 29, 2023 10:08
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

Successfully merging this pull request may close these issues.

1 participant