I'm trying to remove two prefixes from my service-worker file but the stripPrefixMulti option doesn't seem to do the trick. I have :
./dist
./src/assets
I want to strip :
./
src/
and replace them with
/
So in my sw.config I have :
stripPrefix : './', // tried moving this to PrefixMulti as 'root': './'
stripPrefixMulti: {
'src/': 'src/'
},
replacePrefix: '/'
Any help would be appreciated.