Closed gpbl closed 9 years ago
Hey @gpbl, you're right.
I started work in a branch on trying to use the loader to potentially strip out the debug declaration as well, but that is turning out to be more difficult than I thought. I haven't had time but I want to play around with recast to see if that would help in finding and stripping the declarations.
For now tough, feel free to do a docs PR for the README.
Indeed recast looks like the right way :+1:
Hi, thank you for this loader! Using the webpack's
IgnorePlugin
, debug’s inits like:cause a
Cannot find module “debug”
webpack error. I solved with theNormalModuleReplacementPlugin
, however I wonder if there's a better way for it. Thanks!