Hi,
I am trying to exclude the dependencies folder in ui.frontend from being minimized/optimized via Webpack, but I am unable to, I updated this line to this, but with no effect.
minimizer: [
new TerserPlugin({
exclude: /src\/main\/webpack\/dependencies/,
}),
Use case, is that whatever added to dependencies should not be minimized as it causes issues with method when used elsewhere.
Does anyone have a solution to exclude a path of JS files from being minimized/optimized/compiled by webpack?