Skip to content
This repository has been archived by the owner on Jun 5, 2023. It is now read-only.

Configure code splitting to reduce loading time for output files #14

Open
taspeotis opened this issue Apr 27, 2021 · 1 comment
Open
Assignees
Labels
enhancement New feature or request

Comments

@taspeotis
Copy link

Looking at the demo site it takes about 16 seconds to load.

image

I think theme.js could go on a diet, since a cursory glance shows it's not minified.

@azaslonov
Copy link
Member

Hi @taspeotis, the quick fix for it would be to switch webpack mode to "production" here.

The longer fix would be to switch to the code splitting approach, which is coming a bit later.

@azaslonov azaslonov self-assigned this Apr 27, 2021
@azaslonov azaslonov added the enhancement New feature or request label Apr 27, 2021
@azaslonov azaslonov changed the title theme.js is huge Configure code splitting to reduce load times for output files Apr 27, 2021
@azaslonov azaslonov changed the title Configure code splitting to reduce load times for output files Configure code splitting to reduce loading time for output files Apr 27, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants