-
Notifications
You must be signed in to change notification settings - Fork 11
feat!: Remove script preloading #134
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
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.
LGTM
import mergeWith from 'lodash.mergewith' | ||
|
||
import { | ||
HEADER_COMMENT, | ||
IMMUTABLE_CACHING_HEADER, | ||
COMMON_BUNDLES, |
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.
[pebble] This variable looks to be only used here, so you could remove it from the constants
file as well
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.
🚀
Nice! I've edited the PR title, because this is a breaking change so needs a major bump |
Just in case something goes wrong, the |
As mentioned in #127 , Gatsby has removed script preloading as it was found that it was affecting performance on page load. This just does the same for our plugin.
Closes: #127