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

Eject and bump max service-worker file size #47

Merged
merged 1 commit into from
Feb 13, 2018

Conversation

BlakeWilliams
Copy link
Contributor

Currently the JavaScript bundle is silently ignored by
create-react-app on build because its pre-gzip file size is over 2mb.

To solve this issue we've ejected from create-react-app and have
bumped up the maximum file size to cache to 4mb.

facebook/create-react-app#2612

Currently the JavaScript bundle is silently ignored by
`create-react-app` on build because its pre-gzip file size is over 2mb.

To solve this issue we've ejected from `create-react-app` and have
bumped up the maximum file size to cache to 4mb.

facebook/create-react-app#2612
// If a URL is already hashed by Webpack, then there is no concern
// about it being stale, and the cache-busting can be skipped.
dontCacheBustUrlsMatching: /\.\w{8}\./,
maximumFileSizeToCacheInBytes: 4 * 1024 * 1024,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@marpaia marpaia merged commit 506a7ed into osquery:master Feb 13, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants