Skip to content

Commit

Permalink
build: improve fragmenter modules (#4372)
Browse files Browse the repository at this point in the history
* chore: upgrade fragmenter

* build: improve module sizes for frequently downloaded modules

Co-authored-by: Benjamin Dupont <[email protected]>
(cherry picked from commit ac9fbb4)
  • Loading branch information
nistei authored and Benjozork committed Apr 10, 2021
1 parent 5b6e173 commit 3b282bd
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"@babel/preset-typescript": "~7.12.7",
"@flybywiresim/igniter": "^1.1.4",
"@flybywiresim/eslint-config": "~0.1.0",
"@flybywiresim/fragmenter": "^0.1.5",
"@flybywiresim/fragmenter": "^0.5.1",
"@flybywiresim/rnp": "^2.1.0",
"@flybywiresim/rollup-plugin-msfs": "~0.1.4",
"@rollup/plugin-babel": "^5.2.1",
Expand Down
6 changes: 6 additions & 0 deletions scripts/fragment.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,12 @@ const execute = async () => {
}, {
name: 'Model',
sourceDir: './SimObjects/AirPlanes/FlyByWire_A320_NEO/model'
}, {
name: 'Panels',
sourceDir: './SimObjects/AirPlanes/FlyByWire_A320_NEO/panel'
}, {
name: 'MarketplaceData',
sourceDir: './MarketplaceData'
}]
});
console.log(result);
Expand Down

0 comments on commit 3b282bd

Please sign in to comment.