-
-
Notifications
You must be signed in to change notification settings - Fork 377
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
npm run build building with system url path #7
Comments
Ah yeah. I think something needs to tell the sw plugin what webpacks context directory was. |
I remember using "stripPrefixMulti" in sw-precache plugin to fix this
|
I think we can even just pass it |
You can also access webpack's |
yup yup. just figured we'd keep this bit generic since there might be a time when we want to support an "eject" feature. |
Can we change it to this?
|
Oh, if there only was a plugin which can do all that automatically. It would be such a bless 😎 😂 |
I believe this was fixed in |
Indeed it was, absolute paths are no longer there. Closing. |
When I run
npm run build
the sw.js is generated with system paths to the archives:"C:/Users/jordao/projects/compra/build/1.chunk.82189a4e17c69863082e.js"
instead of:
"1.chunk.82189a4e17c69863082e.js"
The text was updated successfully, but these errors were encountered: