thana
12/18/2020, 12:29 PM@JsName
the method named isn;t mangled and indeed i can find some emthods from my code with the correct name in the resulting bundle. I thought configuring the terser plugin is the way to go, but didn't work out becasue the config in webpack.config.d
is ignored.
But then i found out: its indeed dce that removes the method! i tried dceTask{keep{..}}
but couldn;'t make it work.
No i finally figured: the methods removed reside in the default package.
So the question is: is it a bug or a feature that you cannot keep
a mthod from the default package?Marc Knaup
12/18/2020, 12:32 PMjs(IR) { … }
instead of js { … }