-
Notifications
You must be signed in to change notification settings - Fork 43
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
serviceworker webpacker generator integration fixes/enhancements #85
base: master
Are you sure you want to change the base?
Conversation
I would appreciate your comments regarding this. |
seconded, would love some eyes on this |
@ncs1 Thanks for working on these changes. The main branch is now passing on CircleCI. Would you like to rebase and fix the failing tests on your branch? |
@rossta good to see you here. |
Perhaps separate tasks would be the most straightforward?
|
Sorry for the delay, I didn't have much time - but I'm working on it. |
- using parameter --webpacker on generation
- doc auto-generate for webpacker asset pipeline. - doc manual setup on webpacker asset pipeline. - updates js examples - doc development/testing pointers
- currently slow with appraisal due to rebuild on webpack:install
6f1e5d7
to
c23567c
Compare
@rossta please review. |
- uses default application.js generated in webpack install instead of doing whole webpack:install
Now the test suite runs as before |
+1 for this will help a lot of rails 6 users |
Hello, I'm new to rails and I would like to implement a service worker in my Rails app. Its a rails 6 app and i'm a stuck because the gem seems to use sprockets instead of wekpacker. By default my javascripts files are in Can you tell me if it's possible at the moment ? Or I need to wait the merge of this branch onto master ? Thanks ! |
Hi @Petrucheqa , And follow my instructions in the README there to integrate with webpacker. |
I'll try as soon as I can, thanks for your answer @ncs1 ! |
For those that want to use this version in their project, add this as the branch to be use by the gem by doing:
this pulls the source code from this pr by @ncs1 |
Hi,
See issue #84