Support Ignoring Certain Define() and/or Require() Methods
If you don't want one or more define()
and require()
methods to be removed by amdclean
, then you must put a comment with only the words amdclean on the same line or one line above the method in question. For example, amdclean
would not remove the define()
method below:
// amdclean
define('example', [], function() {});