Join GitHub today
add jekyll-pwa-plugin #6533
@xiaoiver You might want to update the plugin's usage section. When i initially tried adding the gem and config block to my test site,
Note: This should ideally be a bug report in your repo, but the plugin is only at
Hi @ashmaroli , in this plugin I want to copy two files(a polyfill & workbox) under
Dir.glob(File.expand_path('../vendor/**/*', __FILE__)) do |filepath_to_copy| basename = File.basename(filepath_to_copy) FileUtils.copy_file(filepath_to_copy, File.join(@site.dest, 'js', basename))
So in service worker generated, I can import these scripts correctly:
Maybe I make a wrong assumption that users put their scripts in /js.