Skip to content
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

Rework variants to reduce bundle size #139

Merged
merged 32 commits into from
Feb 28, 2024
Merged
Changes from 1 commit
Commits
Show all changes
32 commits
Select commit Hold shift + click to select a range
76c9092
Remove source maps
MattiasBuelens Jul 21, 2021
50b9d12
Remove ES2018 variant
MattiasBuelens Jul 21, 2021
710ce9e
Remove unminified polyfill variants
MattiasBuelens Jul 21, 2021
5052fc4
Remove ES2018 variant entirely
MattiasBuelens Jul 21, 2021
b505806
Drop ".min" suffix
MattiasBuelens Jul 25, 2021
3ac9014
Rework build
MattiasBuelens Aug 10, 2021
e1d818d
Fix indentation
MattiasBuelens Jan 4, 2024
594872a
Minify both UMD and ESM bundles
MattiasBuelens Aug 16, 2021
2de4960
Set up package entry points
MattiasBuelens Aug 10, 2021
c6192af
Test package exports
MattiasBuelens Aug 16, 2021
0172015
Add bundler tests for Rollup and Webpack
MattiasBuelens Aug 16, 2021
3f96fd5
Make ES6 the default
MattiasBuelens Aug 18, 2021
c6af66d
Make the polyfill variant not export anything
MattiasBuelens Aug 18, 2021
ee85e4d
Fix tests
MattiasBuelens Aug 18, 2021
6e09f73
Remove polyfill.mjs, since polyfill.js is now also valid as ESM
MattiasBuelens Aug 18, 2021
9088538
Make ponyfill the default variant
MattiasBuelens Aug 18, 2021
4212eec
Update readme
MattiasBuelens Aug 18, 2021
ca2a2e9
Remove "browser" field in package.json
MattiasBuelens Aug 19, 2021
45ad0d1
Add "types" condition to exports
MattiasBuelens Jan 4, 2024
54409aa
Remove down-leveling for TypeScript 3.5 or lower
MattiasBuelens Jan 4, 2024
465473b
Run test:bundlers on CI
MattiasBuelens Jan 4, 2024
24b97d7
Update contributing guide
MattiasBuelens Jan 4, 2024
fb356c8
Move dist/types/ to types/
MattiasBuelens Aug 27, 2021
77fb57f
Fix import in types tests
MattiasBuelens Jan 4, 2024
5c12a46
Add tests for package exports
MattiasBuelens Jan 4, 2024
6773317
Fix package locks
MattiasBuelens Jan 5, 2024
8a72c4c
Rename test scripts
MattiasBuelens Feb 28, 2024
d78fcb2
Update dependencies
MattiasBuelens Feb 28, 2024
b61f52e
Update CI
MattiasBuelens Feb 28, 2024
b25b707
Update readme
MattiasBuelens Feb 28, 2024
8ba3e59
Add migration guide
MattiasBuelens Sep 5, 2021
4bad284
Update changelog
MattiasBuelens Feb 28, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Remove "browser" field in package.json
"browser" is unnecessary if it's equal to "main".
  • Loading branch information
MattiasBuelens committed Feb 28, 2024
commit ca2a2e9c34e8245cf9b5e92dbf33d89e3bce7f31
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -3,7 +3,6 @@
"version": "3.3.3",
"description": "Web Streams, based on the WHATWG spec reference implementation",
"main": "dist/ponyfill.js",
"browser": "dist/ponyfill.js",
"module": "dist/ponyfill.mjs",
"types": "dist/types/ponyfill.d.ts",
"typesVersions": {