I get properties starting with _ and $ (_, $, _a, $a, ...), which leads to an error due to these characters being reserved by Vue.
Is there a way to ban certain characters? I didn't find anything about this in the documentation..
My Setup:
optimization: {
minimize: true,
minimizer: [
new TerserPlugin({
minify: TerserPlugin.uglifyJsMinify,
terserOptions: {
mangle: {
properties: {
regex: /^m_/
}
},
},
}),
],
},
Found a temporary solution to the problem using the nth_identifier assignment (doesn't work with uglifyJsMinify)
What my nth_identifier looks like: gist.github.com/Andreslav