Skip to content

Add minify to SWPrecacheWebpackPlugin config / fix readme typos / add more instructions #2

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Merged
merged 4 commits into from
Mar 3, 2017

Conversation

goldhand
Copy link

@goldhand goldhand commented Feb 17, 2017

Because this is in the production webpack config and webpack is configured to minify/uglify everything else, I think minifying/uglyfying the generated service worker would be a nice option.

I also moved the import statement up near where the other plugin imports are and fixed a typo in the README

Merged typo fixes from #3 here.

Added instructions for testing offline-first locally (if they need to do that, its kind of fun and for some reason a lot of issues in sw-precache-webpack-plugin involve testing locally).

@goldhand goldhand changed the title Add minify to SWPrecacheWebpackPlugin config Add minify to SWPrecacheWebpackPlugin config / fix readme typos / add more instructions Feb 17, 2017
@jeffposnick
Copy link
Owner

👍

@jeffposnick jeffposnick merged commit 1cdb4cd into jeffposnick:pwa Mar 3, 2017
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants