Closed kirill-konshin closed 9 years ago
Thanks again. Looks like a much better implementation. I noticed you ran amdOptimize
twice in the test (https://github.com/scalableminds/amd-optimize/pull/29/files#diff-f060e4610ac4d0fcc1b4b55d52532777R683), so I removed one.
Yes, this most likely was a merge issue or something... Double call is not needed obviously.
By the way, overall very good coding style, was a pleasure to make contribution. Good job and thank you for nice and useful plug-in.
Thanks :-)
Could we support this option also on shimed modules?
What is wrong with shims? As far as I remember they were working...
Using the following configuration, license comments got stripped from shim modules
"amdConfig": { "preserveComments": true, "shim": { "jQuery": { "exports": "jQuery", "preserveComments": true } ... }
thanks!
Can you create a separate ticket and I'll look into your issue.
In new implementation comments are applied to AST immediately after it was created, this makes traversing of AST safer. Tests are feeling good plus I have placed extra assertions.