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

Compile times in development mode are slow #174

Open
fedehiga opened this issue Sep 1, 2022 · 1 comment
Open

Compile times in development mode are slow #174

fedehiga opened this issue Sep 1, 2022 · 1 comment
Labels
enhancement New feature or request

Comments

@fedehiga
Copy link

fedehiga commented Sep 1, 2022

Hi! I'm testing you boilerplate and noticed that compile times in development mode are too slow. Each save on a scss file is taking 4 - 5 seconds to compile. Is there a way to speed up css save times?

@noreading
Copy link
Owner

Hi there! I have to admit that I'm not too much into frontend coding anymore, but I'll have a look at it. May be there are some tweaks for webpack to get compile times faster. I'll ask some guys for help, that use webpack more often than I use today. :-)

I pushed an updated version, that is not officially released yet, to a new branch. Could you test it and tell me if your compile times improved? Please also tell me your setup. Which operating system, node and npm version are you using?

There's an option in the webpack.config.js file now, in line 10 to enable or disable sourcemaps. This reduced compile time a lot in my case.

Here's the link to download the new version:
Performance Optimizations

@noreading noreading added the enhancement New feature or request label Sep 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants