Skip to content

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