-
Notifications
You must be signed in to change notification settings - Fork 650
Conversation
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.
More questions going latest (maybe).
- How to verify if we load precompiled assets?
script/precompile-assets
Outdated
@@ -0,0 +1,14 @@ | |||
#!/usr/bin/env bash |
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.
it's not the cross-platform able solution, what about the switch to Node for cross-platform running?
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.
That's a good idea. I'll do that today.
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.
I agree with @HashimotoYT that a node script would be easier. other than that 👍
I've updated the script to be in JavaScript; I was also able to save about 15% of the bundle size by modifying our lodash imports. |
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.
🍏 for me. Only one proposal.
Currently we compile and serve JS and CSS from memory when those files are requested, resulting in significant delays for many requests. This PR implements precompilation for production mode.
Fixes #2084