question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Workbox-webpack pre-cache uses windows path separators

See original GitHub issue

Welcome! 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:closed
  • Created 4 years ago
  • Comments:13 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
jeffposnickcommented, May 22, 2019

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.

0reactions
jeffposnickcommented, Aug 5, 2019

I don’t believe a fix for workbox-webpack-plugin should be necessary, since the underlying issue should be addressed via a fix for copy-webpack-plugin.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found