Skip to content
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

fix: components loaded in chunks #137

Merged
merged 20 commits into from
Jul 1, 2022

Conversation

tiborux
Copy link
Contributor

@tiborux tiborux commented Jul 1, 2022

Checking the stats.html you have to see 5 chunks: 1 for each message file (es and en), x-search, x-empty-search, and app.js

Also, you can use http-server to serve the files compressed and check if the chunks are properly loaded. To achieve that, you should compress the app.js, x-search.js, x-empty-search.js with brotli o gzip(gzip dist/app.js ....etc) and then serve them using http-server:

http-server -g - gzip
http-server -b - brotli

Chrome and Firefox don't accept brotli by default, if you wanna test it, you have to download this extension, extension and add the following rule: accept-enconding: br

EX-6531

@tiborux tiborux requested a review from a team as a code owner July 1, 2022 07:16
@javieri-empathy javieri-empathy self-assigned this Jul 1, 2022
@javieri-empathy javieri-empathy self-requested a review July 1, 2022 09:37
@mnavarroespinosa mnavarroespinosa merged commit 0a73afc into main Jul 1, 2022
@mnavarroespinosa mnavarroespinosa deleted the fix/EX-6531-fix-chunks-in-archetype branch July 1, 2022 12:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants