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

Deprecation Warning #146

Open
fabianmarcus opened this issue Mar 31, 2021 · 3 comments
Open

Deprecation Warning #146

fabianmarcus opened this issue Mar 31, 2021 · 3 comments

Comments

@fabianmarcus
Copy link

When I build my app with Webpack I get this deprecation warning:

(node:86841) [DEP_WEBPACK_COMPILATION_OPTIMIZE_CHUNK_ASSETS] DeprecationWarning: optimizeChunkAssets is deprecated (use Compilation.hooks.processAssets instead and use one of Compilation.PROCESS_ASSETS_STAGE_* as stage option)
(Use node --trace-deprecation ... to show where the warning was created)

Can we get rid of this?

@saulske
Copy link

saulske commented Apr 20, 2021

Agree. It's coming from last-call-webpack-plugin.

As updates are pending, possible solution could be to use css-minimizer-webpack-plugin package.

"Just like optimize-css-assets-webpack-plugin but more accurate with source maps and assets using query string, allows to cache and works in parallel mode."

Guide: https://survivejs.com/webpack/optimizing/minifying/#setting-up-css-minification

@brandonburkett
Copy link

I hit this today too when upgrading to webpack5

@tiennguyen1293
Copy link

i facing it when upgrading to webpack 5 too.

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

4 participants