webtides / luna-js

MIT License
9 stars 0 forks source link

Add possibility to register service workers #122

Open eddyloewen opened 4 months ago

eddyloewen commented 4 months ago

Maybe also from the file system? like "/workers/*.js" ?

Since luna knows all the files and assets by generating a manifest it would be nice to also get a list of cachable files for the service workers. Maybe this list can be mutated just like the pages for the static export?