]> source.dussan.org Git - jquery.git/commit
Build: Generate the slim build on `grunt` & run `compare_size` on it
authorMichał Gołębiowski-Owczarek <m.goleb@gmail.com>
Mon, 10 Jul 2023 18:45:30 +0000 (20:45 +0200)
committerGitHub <noreply@github.com>
Mon, 10 Jul 2023 18:45:30 +0000 (20:45 +0200)
commit763ade6dda092709b36d97491951bcae415d91d1
treed49595c0263d01101c97b4df397822aabe3710c4
parenta288838c6f2ddd08c41e09b4672ad39a03822b04
Build: Generate the slim build on `grunt` & run `compare_size` on it

Summary of the changes:
* expand `node_smoke_tests` to test the full & slim builds
* run `compare_size` on all built minified files; don't run it anymore on
  unminified files where they don't provide lots of value

The main goal of this change is to make it easier to compare sizes of both the
full & slim builds between the `3.x-stable` & `main` branches.

Closes gh-5291
Ref gh-5255

(partially cherry-picked from commit 8be4c0e4f89d6c8f780e5937a0534921d8c7815e)
21 files changed:
.eslintignore
.gitignore
.npmignore
Gruntfile.js
README.md
build/release.js
build/tasks/build.js
build/tasks/dist.js
build/tasks/node_smoke_tests.js
dist/.eslintrc.json
package.json
test/node_smoke_tests/.eslintrc.json
test/node_smoke_tests/document_missing.js
test/node_smoke_tests/document_passed.js
test/node_smoke_tests/document_present_originally.js [deleted file]
test/node_smoke_tests/iterable_with_native_symbol.js
test/node_smoke_tests/lib/ensure_global_not_created.js
test/node_smoke_tests/lib/ensure_iterability_es6.js
test/node_smoke_tests/lib/ensure_jquery.js
test/node_smoke_tests/lib/jquery-module-specifier.js [new file with mode: 0644]
test/node_smoke_tests/window_present_originally.js [new file with mode: 0644]