By default webpack converts code to commonjs but t...
# random
e
By default webpack converts code to commonjs but tree shaking is only applicable for es2015 so how to restrict webpack to convert code to es2015 and not to commonjs. Any suggestion what needs to be configured for that?