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

Bundler Rewrite: Experimental Bundler #6975

Merged
merged 93 commits into from
Dec 16, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
93 commits
Select commit Hold shift + click to select a range
875a462
WIP step 1 and 2 bundler
AGawrys Jun 29, 2021
b6f5cc8
WIP done step 2 bundle
AGawrys Jun 29, 2021
fbec82f
Implement Step 3
Jun 30, 2021
8342a93
Create a legacy graph from an ideal graph
Jun 30, 2021
ea2413e
Work around dependency targets and connect bundles to groups
Jun 30, 2021
3c2d508
Begin to handle context changes
Jun 30, 2021
10b82e8
Updated DefaultBundler away from BundleNode to just Bundle
joeyslater Jul 1, 2021
c3fc80f
Don't extract shared bundles from entries
AGawrys Jul 1, 2021
211905e
WIP single traversal
AGawrys Jul 1, 2021
6ee81ad
fix missing edge from sibling bundle to main bundle group
AGawrys Jul 2, 2021
02edbc5
alter dumpgraph to not expect node
AGawrys Jul 2, 2021
3b91ac3
Handles bundle references and better handling of Target
joeyslater Jul 2, 2021
46215c7
Merge remote-tracking branch 'origin/v2' into bundler-rewrite
Jul 6, 2021
feb3c26
Add needsStableName and bundleBehavior
Jul 6, 2021
2601132
WIP for fixing reference edges
AGawrys Jul 6, 2021
98122fa
Add in entry asset for all bundles except shared
AGawrys Jul 7, 2021
3430b77
Merge branch 'v2' of github.com:parcel-bundler/parcel into bundler-re…
gorakong Jul 13, 2021
740ed31
wip for dynamic import already available up the graph
gorakong Jul 14, 2021
b7545d9
Duplicate assets in entries after the maximally deduplicated graph
gorakong Jul 14, 2021
6a016aa
WIP internalization
gorakong Jul 14, 2021
be902f4
internalization wip 2
AGawrys Jul 15, 2021
9365a48
Ideas from our sync
Jul 15, 2021
57cfb0d
WIP missing edge
AGawrys Jul 21, 2021
6c715d5
Convert reachableRoots to ContentGraph and WIP needed duplication of …
AGawrys Jul 29, 2021
2f933d5
commenting out consoles
AGawrys Jul 29, 2021
d9f4e26
support multiple dependencies on same bundle FIX
AGawrys Jul 29, 2021
2fffa45
AsyncBundleRootGraph WIP
AGawrys Jul 30, 2021
dfe1e80
topoSort
gorakong Jul 30, 2021
2a5dbb1
wip
gorakong Aug 2, 2021
c1f82eb
WIP
AGawrys Aug 2, 2021
ae233e4
Merge branch 'bundler-rewrite' of github.com:parcel-bundler/parcel in…
gorakong Aug 2, 2021
d4f25b2
do not add edge to itself when creating shared bundle
gorakong Aug 3, 2021
7cc52d5
removeBundle
gorakong Aug 3, 2021
0e2e4e7
Merge in V2 bundler refactor
AGawrys Aug 5, 2021
0325900
Dedup solution bundle group draft
AGawrys Aug 10, 2021
749da96
WIP
AGawrys Aug 11, 2021
357463b
fix traversal type in bundlegraph
AGawrys Aug 11, 2021
324fc3c
reference edge removal and setIntersect alter
AGawrys Aug 12, 2021
18f698d
Merge branch 'bundler-rewrite' of https://github.com/parcel-bundler/p…
AGawrys Aug 12, 2021
ec341d0
reference edge removal and setIntersect alter
AGawrys Aug 12, 2021
368f12c
add bundle group ids
AGawrys Aug 12, 2021
638e5fd
WIP
AGawrys Aug 12, 2021
c681393
Cleanup
Aug 12, 2021
0fcb6a7
for isolated bundles dont deduplicate
AGawrys Aug 16, 2021
aaedcb3
dedup reverse order
AGawrys Aug 16, 2021
cf74fea
Merge remote-tracking branch 'origin/bundler-rewrite-dedup-solution' …
AGawrys Aug 16, 2021
138fff8
Cleanup
Aug 17, 2021
a978610
Merge remote-tracking branch 'origin/v2' into bundler-rewrite
Aug 17, 2021
757e2b8
Pass along provided bundleBehavior
Aug 17, 2021
232ff96
Extract Graph and ContentGraph into @parcel/graph package
Aug 17, 2021
a3ad62b
Merge branch 'wbinnssmith/parcel-graph-package' into bundler-rewrite
Aug 17, 2021
fc68f39
do not remove entries after internalization and reduce reachable for …
AGawrys Sep 1, 2021
8aea007
Merge remote-tracking branch 'origin/v2' into bundler-rewrite
Sep 7, 2021
8ae7088
Clean up orphaned subrequests manually in RequestGraph
Sep 7, 2021
0352fd8
Adjust Graph orphan node tests to have roots
Sep 7, 2021
1b8d4b6
WIP change bundleRoot and Bundles structures, and change dynamic and …
AGawrys Sep 8, 2021
75de592
Revert default bundler back 1
AGawrys Sep 13, 2021
617bd8f
port over default bundler changes remove reachable async roots
AGawrys Sep 20, 2021
e5e4a3f
consolidate comments and annotate steps
AGawrys Sep 20, 2021
1e07788
Merge remote-tracking branch 'origin/v2' into bundler-rewrite
Sep 21, 2021
e1a47d5
Use ancestorAssets for internalization
Sep 21, 2021
1a1013f
cleanup
gorakong Sep 21, 2021
d6490ee
run tests with experimental bundler
gorakong Sep 23, 2021
ca8bdbe
fix javascript test failure
gorakong Sep 23, 2021
1ec2d2f
revert failing html test
gorakong Sep 27, 2021
51a32ef
add root node to IdealGraph
gorakong Sep 28, 2021
7ccea0c
automatically skip failing integration tests for experimental bundler
gorakong Sep 28, 2021
6f61b4c
Use an environment variable to switch bundlers
Oct 13, 2021
1c630ab
Merge remote-tracking branch 'origin/v2' into bundler-rewrite
Oct 19, 2021
c1b893d
cleanup + bump experimental bundler deps
gorakong Oct 21, 2021
fe1a931
Add reference edges from source bundles to shared bundles
gorakong Nov 9, 2021
a22c77a
fix versioning on experimental bundler packagejson:
AGawrys Nov 22, 2021
a9a7db7
Remove orphans from shared bundle reference edge consideration and do…
AGawrys Nov 29, 2021
ac42756
Merge branch 'v2' of github.com:parcel-bundler/parcel into bundler-re…
gorakong Nov 30, 2021
23b0cc3
bump parcel engine and deps
gorakong Nov 30, 2021
846b9ea
lint
gorakong Nov 30, 2021
1654521
Merge branch 'v2' into bundler-rewrite
gorakong Nov 30, 2021
c60b770
wip
devongovett Dec 9, 2021
aa9a6b9
New strategy for handling entries/non-splittable bundles
devongovett Dec 10, 2021
20e1ff8
Hoist wrapped assets to the top of the bundle
devongovett Dec 10, 2021
5a0c1dd
cleanup
devongovett Dec 13, 2021
ad39245
add edge between html to js entry in asyncBundleRootGraph
gorakong Dec 13, 2021
669cfd9
Merge branch 'bundler-rewrite' of github.com:parcel-bundler/parcel in…
gorakong Dec 13, 2021
8e2289f
Merge branch 'v2' of github.com:parcel-bundler/parcel into bundler-fixes
devongovett Dec 13, 2021
0bcce62
Merge branch 'v2' into bundler-rewrite
gorakong Dec 14, 2021
6d2728f
Merge commit 'ad39245d53613aba2d9fd3afa1fd623c69e99a51' into bundler-…
gorakong Dec 14, 2021
af7a04b
Fix sourcemap tests
devongovett Dec 14, 2021
131ae0f
PR feedback: lift addAssetToBundle from mutableBundleGraph to bundleG…
gorakong Dec 15, 2021
9a08370
Merge commit '131ae0f27daab06843f943308da7cfade73ffb21' into bundler-…
gorakong Dec 15, 2021
080947c
PR feedback: lift addAssetToBundle from mutableBundleGraph to bundleG…
gorakong Dec 15, 2021
8d56680
Merge branch 'bundler-rewrite' of github.com:parcel-bundler/parcel in…
gorakong Dec 15, 2021
2b55378
Merge branch 'bundler-rewrite' of github.com:parcel-bundler/parcel in…
devongovett Dec 15, 2021
5ba3cfe
Don't special case html in the bundler, use bundleBehavior instead
devongovett Dec 15, 2021
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
30 changes: 30 additions & 0 deletions packages/bundlers/experimental/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
{
"name": "@parcel/bundler-experimental",
"version": "2.0.0-rc.0",
"license": "MIT",
"publishConfig": {
"access": "public"
},
"funding": {
"type": "opencollective",
"url": "https://opencollective.com/parcel"
},
"repository": {
"type": "git",
"url": "https://github.com/parcel-bundler/parcel.git"
},
"main": "lib/ExperimentalBundler.js",
"source": "src/ExperimentalBundler.js",
"engines": {
"node": ">= 12.0.0",
"parcel": "^2.0.1"
},
"dependencies": {
"@parcel/diagnostic": "^2.0.1",
"@parcel/graph": "^2.0.1",
"@parcel/hash": "^2.0.1",
"@parcel/plugin": "^2.0.1",
"@parcel/utils": "^2.0.1",
"nullthrows": "^1.1.1"
}
}
Loading