Open Dante-dan opened 4 years ago
In production , we usually set static resource on CDN. So, we set a property publicPath.
publicPath
But, start_url in 'manifest.json` has been required to be of the same origin.
start_url
So, when we use relative path in 'manifestPath' and use publicPath in webpack.
webpack
PWA cann't working
pwa.manifestUseRelative = true; // default false
full of expectation
What problem does this feature solve?
In production , we usually set static resource on CDN. So, we set a property
publicPath
.But,
start_url
in 'manifest.json` has been required to be of the same origin.So, when we use relative path in 'manifestPath' and use
publicPath
inwebpack
.PWA cann't working
What does the proposed API look like?