Workbox-webpack pre-cache uses windows path separators
See original GitHub issueWelcome! Please use this template for reporting bugs or requesting features. For questions about using Workbox, the best place to ask is Stack Overflow, tagged with [workbox]
: https://stackoverflow.com/questions/ask?tags=workbox
Library Affected: workbox-webpack-plugin
Browser & Platform: any browser, Windows OS build systems
Issue or Feature Request Description:
The path injected to the precache manifest uses windows file separators (), and the manifestTransforms
option I would like to use to fix it thows this warning:
WARNING in You're using the following Workbox configuration options: [manifestTransforms]. This will not have any effect, as it will only modify files that are matched via 'globPatterns'. You can remove them from your config, and learn more at https://goo.gl/EQ4Rhm
Issue Analytics
- State:
- Created 4 years ago
- Comments:13 (7 by maintainers)
Top Results From Across the Web
Using Workbox + Webpack to precache with Service Worker
Run your webpack-dev-server or alternative and you should notice any HTML, JS or CSS files served from dist are now cached in the...
Read more >Why does workbox-webpack-plugin prepend "auto" to all ...
When my app starts, all precached routes return http404, because the workbox InjectManifest plugin appears to prepend "auto" to all the cached ...
Read more >Untitled
... with classpath exception) OSGi resource locator bundle - used by various ... MIT License (MIT)) Microsoft Azure client library for File Share...
Read more >Build A PWA With Webpack And Workbox - Smashing Magazine
This tutorial will help you transform an app that doesn't work offline into a PWA that works offline and shows an update available...
Read more >Upgrade Guide - Quasar Framework
Quasar CLI for Quasar v1 only had the option to use Webpack. ... using `nvm` helper on Windows (https://github.com/coreybutler/nvm-windows) $ nvm install ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I’ve opened https://github.com/webpack-contrib/copy-webpack-plugin/issues/383 to investigate this change in behavior introduced by
copy-webpack-plugin
v5, and see if it’s something that might end up reverted.I don’t believe a fix for
workbox-webpack-plugin
should be necessary, since the underlying issue should be addressed via a fix forcopy-webpack-plugin
.