You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It was the conditional isDev && ... that was causing this error. Instead, I programmatically created my array of plugins and assigning this to my webpack config:
https://webpack.js.org/configuration/optimization/
'...' can be used in optimization.minimizer to access the defaults.
so
when i use
minimizer: [new CssMinimizerPlugin(), '...'],
build get error
TypeError: Cannot create proxy with a non-object as target or handler
The text was updated successfully, but these errors were encountered: