File tree Expand file tree Collapse file tree 2 files changed +12
-2
lines changed
statsCases/warnings-terser Expand file tree Collapse file tree 2 files changed +12
-2
lines changed Original file line number Diff line number Diff line change @@ -3049,5 +3049,15 @@ bundle.js 2.89 KiB 0 [emitted] main
3049
3049
Entrypoint main = bundle.js
3050
3050
[0] ./index.js 299 bytes { 0 } [built]
3051
3051
[1] ./a.js 249 bytes { 0 } [built]
3052
- [2] (webpack)/buildin/module.js 497 bytes { 0 } [built]"
3052
+ [2] (webpack)/buildin/module.js 497 bytes { 0 } [built]
3053
+
3054
+ WARNING in Terser Plugin: Dropping unused function someUnRemoteUsedFunction1 [./a.js:3,0]
3055
+
3056
+ WARNING in Terser Plugin: Dropping unused function someUnRemoteUsedFunction2 [./a.js:4,0]
3057
+
3058
+ WARNING in Terser Plugin: Dropping unused function someUnRemoteUsedFunction3 [./a.js:5,0]
3059
+
3060
+ WARNING in Terser Plugin: Dropping unused function someUnRemoteUsedFunction4 [./a.js:6,0]
3061
+
3062
+ WARNING in Terser Plugin: Dropping unused function someUnRemoteUsedFunction5 [./a.js:7,0]"
3053
3063
` ;
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ module.exports = {
21
21
} ,
22
22
warnings : true
23
23
} ,
24
- warningsFilter ( filename ) {
24
+ warningsFilter ( message , filename ) {
25
25
return / a \. j s $ / . test ( filename ) ;
26
26
}
27
27
} )
You can’t perform that action at this time.
0 commit comments