diff options
author | Michał Gołębiowski-Owczarek <m.goleb@gmail.com> | 2023-06-27 18:23:58 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-27 18:23:58 +0200 |
commit | 5701957b7223659c52a43f8c2c5465fdf2803df4 (patch) | |
tree | 2a33cd8a8796928db6ed26cf7237ef3b32b2d84c /Gruntfile.js | |
parent | 62b9a2583460c2384f6de1d0a6aeaf05e51d523b (diff) | |
download | jquery-5701957b7223659c52a43f8c2c5465fdf2803df4.tar.gz jquery-5701957b7223659c52a43f8c2c5465fdf2803df4.zip |
Build: Drop individual AMD modules
With this change, jQuery build no longer generates the `amd` directory with
AMD modules transpiled from source `src` ECMAScript Modules. To use individual
jQuery modules from source, ESM is now required.
Note that this DOES NOT affect the main `"jquery"` AMD module defined by built
jQuery files; those remain supported.
Closes gh-5276
Diffstat (limited to 'Gruntfile.js')
-rw-r--r-- | Gruntfile.js | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/Gruntfile.js b/Gruntfile.js index 9029be85d..65aec9648 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -225,12 +225,6 @@ module.exports = function( grunt ) { served: true, nocache: true }, - { - pattern: "amd/**", - included: false, - served: true, - nocache: true - }, { pattern: "external/**", included: false, served: true }, { pattern: "test/**/*.@(js|css|jpg|html|xml|svg)", @@ -268,21 +262,6 @@ module.exports = function( grunt ) { } } }, - amd: { - browsers: customBrowsers || [ "ChromeHeadless" ], - options: { - client: { - qunit: { - - // We're running `QUnit.start()` ourselves via `loadTests()` - // in test/jquery.js - autostart: false, - - amd: true - } - } - } - }, jsdom: { options: { @@ -431,7 +410,6 @@ module.exports = function( grunt ) { grunt.registerTask( "default", [ runIfNewNode( "eslint:dev" ), "build:*:*", - "amd", "terser", "remove_map_comment", "dist:*", |