When building a custom jQuery (master branch) with this command:
It will output about the line 47:
This produces the error
ReferenceError: define is not defined
'''Why I'm using grunt build?'''
I know that "grunt custom" is the recommended alias, but I'm trying to build a minimum possible jQuery that contains the necessary code for a reliable $(document).ready() .
I want to propose this solution to be part of the upcoming Drupal 8 core, as an alternative to domready solution https://github.com/ded/domready that we are using now
The whole command is :
This builds a 11Kb size domready solution. 5Kb gzipped
Removing the buggy line mentioned before, it works: