From f37c2e51f36c8f8bab3879064a90e86a685feafc Mon Sep 17 00:00:00 2001 From: Michał Gołębiowski-Owczarek Date: Mon, 9 Dec 2019 20:00:44 +0100 Subject: Build: Auto-convert sources to AMD jQuery source has been migrated in gh-4541 from AMD to ES modules. To maintain support for consumers of our AMD modules, this commits adds a task transpiling the ES modules sources in `src/` to AMD in `amd/`. A "Load with AMD" checkbox was also restored to the QUnit setup. Note that, contrary to jQuery 3.x, AMD files need to be generated via `grunt amd` or `grunt` as sources are not authored in ECMAScript modules. To achieve a similar no-compile experience during jQuery 4.x testing, use the new "Load as modules" checkbox which works in all supported browsers except for IE & Edge (the legacy, EdgeHTML-based one). Ref gh-4541 Closes gh-4554 --- build/release/dist.js | 1 + 1 file changed, 1 insertion(+) (limited to 'build/release') diff --git a/build/release/dist.js b/build/release/dist.js index 0ca396811..e2b1c5fb4 100644 --- a/build/release/dist.js +++ b/build/release/dist.js @@ -13,6 +13,7 @@ module.exports = function( Release, files, complete ) { // These files are included with the distribution extras = [ + "amd", "src", "LICENSE.txt", "AUTHORS.txt", -- cgit v1.2.3