Calling webpack.ignorePlugin (to tree-shake Moment.js locales) with CRA + rescripts

前端 未结 0 558
小鲜肉
小鲜肉 2021-01-01 09:55

I am using CRA + with rescripts

I want to tree-shake Moment.js locales, exactly the same way as shown in ignorePlugin Webpack docs:

new webpack.IgnoreP         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题