-
-
Notifications
You must be signed in to change notification settings - Fork 23
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
Improve webpack build time #5132
Conversation
We are getting 2 new warnings (which is strange since we're doing less):
|
The warning seems to be normal behaviour according to the ts-loader docs.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we want to disable the warning(s) mentioned?
They are just warnings, so I would not disable them since the recommended way to do is is a regex which might also match real errors? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
does this mean that we can move the types back to devdependencies?
Possibly indeed, but this needs to be tested. |
Naos also runs production deploy, sit it can be tested there (or by only installing production deps locally) |
I would do it in a future PR because this one has no impact on production whereas moving dependencies might have. There might also be some other optimizations possible. I noticed that we also include terser in the rubygems file. This might mean that terser is also run as part of sprockets. |
This pull request tweaks the webpack config to improve the build time. This will speed up the github actions.
There are 2 changes:
Build times on my macbook: