Skip to content

Commit

Permalink
build: move production pipelines to fragmenter v0.7.0 (#7453)
Browse files Browse the repository at this point in the history
* build: split modules at 500MB, keep full module complete file

* bump fragmenter

* bump fragmenter
  • Loading branch information
Benjozork committed Sep 26, 2022
1 parent 4f928cb commit 2a9ccc2
Show file tree
Hide file tree
Showing 3 changed files with 209 additions and 10 deletions.
216 changes: 207 additions & 9 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
"@babel/preset-react": "^7.12.1",
"@babel/preset-typescript": "~7.12.7",
"@flybywiresim/eslint-config": "~0.1.0",
"@flybywiresim/fragmenter": "^0.5.1",
"@flybywiresim/fragmenter": "^0.7.0",
"@flybywiresim/igniter": "^1.2.2",
"@flybywiresim/rnp": "^2.1.0",
"@flybywiresim/rollup-plugin-msfs": "~0.3.0",
Expand Down
1 change: 1 addition & 0 deletions scripts/fragment.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ const fs = require('fs');
const execute = async () => {
try {
const result = await fragmenter.pack({
packOptions: { splitFileSize: 536_870_912, keepCompleteModulesAfterSplit: true },
baseDir: './flybywire-aircraft-a320-neo',
outDir: './build-modules',
modules: [{
Expand Down

0 comments on commit 2a9ccc2

Please sign in to comment.