-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
build: remove brfs
from build processes
#24000
Conversation
CLA Signature Action: All authors have signed the CLA. You may need to manually re-run the blocking PR check if it doesn't pass in a few minutes. |
New and removed dependencies detected. Learn more about Socket for GitHub ↗︎
🚮 Removed packages: npm/array-from@2.1.1, npm/brfs@2.0.2, npm/buffer-equal@0.0.1, npm/dash-ast@2.0.1, npm/es6-map@0.1.5, npm/es6-set@0.1.6, npm/estree-is-function@1.0.0, npm/merge-source-map@1.0.4, npm/quote-stream@1.0.2, npm/scope-analyzer@2.1.2, npm/shallow-copy@0.0.1, npm/static-eval@2.1.1, npm/static-module@3.0.4 |
4e96037
to
281ad41
Compare
e7a251d
to
b597020
Compare
b597020
to
e0fb026
Compare
Builds ready [e0fb026]
Page Load Metrics (1244 ± 571 ms)
Bundle size diffs [🚨 Warning! Bundle size has increased!]
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## develop #24000 +/- ##
========================================
Coverage 67.54% 67.54%
========================================
Files 1245 1245
Lines 48866 48866
Branches 12744 12744
========================================
Hits 33005 33005
Misses 15861 15861 ☔ View full report in Codecov by Sentry. |
The
brfs
package was used to transform calls tofs.readFile*
into inlined files as strings during build/compilation. We no longer make use offs.readFile*
in our code, so the dependency is no longer required. While it doesn't cause issues to leave it, the package is slow as it must parse the contents into an AST and then statically analyze the tree looking for relevant calls tofs.readFile*
. This overhead is unwanted, so I've removed it from our build process.