You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When recording in the RequireJS tab is completed, a user of this extension is presented with a configuration they can use with the RequireJS Optimizer.
At that time, we have the following data:
A full list of which modules will be included in each bundle
In a bundled file, the RequireJS Optimizer only makes 1 change to each included AMD module: it adds a string literal as the first value in the define call.
I suspect we could get a decent estimate of a final bundle's size by:
Collecting all resources that will be in the bundle
Concatenating all those sources together
Running the result through uglifyjs2 (used by the RequireJS Optimizer)
Expected result:
Either one of 2 results should come from this issue:
Bundle size estimates are included in the Bundle Generation tool
It's determined the estimates will be too incorrect to be useful
The text was updated successfully, but these errors were encountered:
This issue is a:
Environment
node -v
)npm -v
)Description
When recording in the
RequireJS
tab is completed, a user of this extension is presented with a configuration they can use with the RequireJS Optimizer.At that time, we have the following data:
In a bundled file, the RequireJS Optimizer only makes 1 change to each included AMD module: it adds a string literal as the first value in the
define
call.I suspect we could get a decent estimate of a final bundle's size by:
Expected result:
Either one of 2 results should come from this issue:
The text was updated successfully, but these errors were encountered: