Set a configurable prefix path for the custom worker.
Versions
next-pwa: 5.6.0
next: 13.3.4
How To Reproduce
For our NextJS project we would have to adjust the custom worker path so that the custom worker file is not part of the public root. This is important to us because of root caching assets handling. Currently we can only configure a custom worker, which will bundled as hashed worker-*js to the static folder. It would be helpful to shift this custom worker file out of root by setting a prefix in the path.
Expected Behaviors
A configurable prefix path for the custom worker file.
Summary
Set a configurable prefix path for the custom worker.
Versions
next-pwa
: 5.6.0next
: 13.3.4How To Reproduce
For our NextJS project we would have to adjust the custom worker path so that the custom worker file is not part of the public root. This is important to us because of root caching assets handling. Currently we can only configure a custom worker, which will bundled as hashed
worker-*js
to the static folder. It would be helpful to shift this custom worker file out of root by setting a prefix in the path.Expected Behaviors
A configurable prefix path for the custom worker file.