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
optimization: {minimizer: [newTerserPlugin({terserOptions: {// https://github.com/webpack-contrib/terser-webpack-plugin/// Without this, parseError() will not recognize user cancelled errors. Also makes debugging easier in production.keep_classnames: true}}),],},```
### HowDoWeReproduce?
<!--
Removethissectionifnotreportingabug.Ifyourwebpackconfigisover50lineslong,pleaseprovideaURLtoarepoforyourbeefy🍖appthatwecanusetoreproduce.
-->
The text was updated successfully, but these errors were encountered:
Expected Behavior
No typescript warnings in webpack.config.js file
keep_classnames and keep_fnames should be defined in typescript definition file but are not:
export interface MinifyOptions {
spidermonkey?: boolean;
outSourceMap?: string;
sourceRoot?: string;
inSourceMap?: string;
fromString?: boolean;
warnings?: boolean;
mangle?: boolean | MangleOptions;
output?: OutputOptions;
compress?: boolean | CompressOptions;
nameCache?: {};
}
Actual Behavior
Typescript squigglies:
Code
The text was updated successfully, but these errors were encountered: