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
Using the bundle option polymer build --bundle doesn't seem to have any effect.
According to the documentation:
If the --bundle flag is supplied, JavaScript code is bundled together to reduce the number of file requests.
I'm using lodash-es in a project and after a build, there are around 50 separate HTTP requests for each lodash submodule. This adds around a 20 second delay to the initial loading time.
Isn't the --bundle flag supposed to prevent this? Or did I misunderstand its purpose?
The text was updated successfully, but these errors were encountered:
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
This issue has been automatically closed after being marked stale. If you're still facing this problem with the above solution, please comment and we'll reopen!
Using the bundle option
polymer build --bundle
doesn't seem to have any effect.According to the documentation:
I'm using
lodash-es
in a project and after a build, there are around 50 separate HTTP requests for each lodash submodule. This adds around a 20 second delay to the initial loading time.Isn't the
--bundle
flag supposed to prevent this? Or did I misunderstand its purpose?The text was updated successfully, but these errors were encountered: