webpack
webpack copied to clipboard
Change assetsPublicPath for production to ./
Also, remove warning message about not working over file://
This PR fixes #200 to enable Cordova, file://, and serving from a higher directory (e.g. building into test/dist and serving test/).
Also see PR #530 related to this one, which fixes a similar type of path issue loading fonts.
@LinusBorg See https://github.com/vuejs-templates/webpack/issues/200#issuecomment-255557630 I haven't personally tested it, but @mixedCase claims there's no issue running with vue-router in history mode and assetsPublicPath set to './'.