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 5 deprecation warnings #316

Closed
wants to merge 1 commit into from
Closed

fix: webpack 5 deprecation warnings #316

wants to merge 1 commit into from

Conversation

webdiscus
Copy link

Hello Simon,

during Webpack process via npm run build are displayed deprecation warnings:

[DEP_WEBPACK_CHUNK_HAS_ENTRY_MODULE] DeprecationWarning: Chunk.hasEntryModule: Use new ChunkGraph API
[DEP_WEBPACK_CHUNK_ENTRY_MODULE] DeprecationWarning: Chunk.entryModule: Use new ChunkGraph API
[DEP_WEBPACK_MODULE_INDEX] DeprecationWarning: Module.index: Use new ModuleGraph API

This happens because is used outdated the webpack-fix-style-only-entries.

Warning

This plugin is not compatible with webpack 5. There is a fork here that is compatible: webpack-remove-empty-scripts

This PR replace the webpack-fix-style-only-entries with webpack-remove-empty-scripts package.

simonwep added a commit that referenced this pull request Sep 26, 2023
simonwep added a commit that referenced this pull request Sep 26, 2023
@simonwep simonwep closed this in 5430430 Sep 28, 2023
@webdiscus webdiscus deleted the fix-deprecation-warnings branch September 28, 2023 15:31
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