-
Notifications
You must be signed in to change notification settings - Fork 20.6k
Build: Add exports
to package.json, export slim & esm builds
#5255
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 1 commit
Commits
Show all changes
31 commits
Select commit
Hold shift + click to select a range
b3f57cb
Build: Introduce the `--esm` `grunt custom` build option
mgol 516e44f
Build: Define the `exports` field, declare `src/*.js` files as ESM
mgol 2094ccc
Build: Rename the map file extension from `.min.map` to `.min.js.map`
mgol 265ca64
Build: Add module versions of node_smoke_tests
mgol b3c1364
Build: Tweak the dist ESLint config & the list of ignored files
mgol 69e7c86
Build: Run ESM + slim smoke tests in CI
mgol 7d193aa
Build: Add more details to the package README
mgol 314af4d
Release: Add *.mjs files to release artifacts
mgol 715594f
Build: Provide only a single export per entry point for Node.js
mgol 74fb5b7
Build: Add more thorought tests for slim/esm combinations
mgol 05b529b
Build: Rename nodeV14OrNewer to nodeV16OrNewer
mgol 56730fa
Build: Run all node smoke tests in all Node.js >=16
mgol d37ede3
Tests: global -> globalThis
mgol 2ad8c2c
Build: Refactor exports, dist & dist-module, release script
mgol 4c9895f
Core: Code style
mgol 0809162
Build: Prioritize ESM in the README of the published package
mgol 6ce66e5
Build: Remove the remove_map_comment task
mgol baeb9c5
Release: Simplify generateArtifacts
mgol ce8da51
Build: Declare `"type": "module"` globally except for the `build` folder
mgol 9e44a88
Build: Update an outdated comment about Node.js support
mgol 215c86d
Build: Fix - make some CommonJS files evaluated as CommonJS again
mgol 6d5f6fb
Build: Hotfix + small code style tweaks
mgol 422ac40
Build: Remove remnants of individual AMD modules.
mgol 7391968
Build: Export named jQuery & $ for the browser ESM build as well
mgol 7334450
Build: Rename jquery.module.slim.js to jquery.slim..module.js
mgol 34be31b
Build: Refactor test:node_smoke_tests in package.json
mgol ce7f2a7
Build: Don't run terser & dist tasks in the default one
mgol cda9a28
Build: Rename mode to moduleType in node_smoke_tests
mgol 2f17d03
Build: Search for .js, .cjs & .mjs files in node_smoke_tests
mgol 7a978e6
Build: Fix ESLint patterns for module files
mgol 53fdc43
Build: Fix the minify source map file path
mgol File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Build: Hotfix + small code style tweaks
- Loading branch information
commit 6d5f6fb84c426810e7944f9b8c106c8cb62a904d
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.