Changed unminify plugin to hook into step before optimization
This commit is contained in:
parent
f6b7ddb0db
commit
464bcb7783
|
@ -47,7 +47,7 @@ class UnminifyWebpackPlugin {
|
|||
compilation.hooks.processAssets.tap(
|
||||
{
|
||||
name: 'UnminifyWebpackPlugin',
|
||||
stage: webpack.Compilation.PROCESS_ASSETS_STAGE_OPTIMIZE_INLINE,
|
||||
stage: webpack.Compilation.PROCESS_ASSETS_STAGE_DERIVED,
|
||||
},
|
||||
( assets ) => {
|
||||
Object.entries( assets ).forEach(
|
||||
|
|
Loading…
Reference in New Issue