We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8bf7dfd commit 7096bacCopy full SHA for 7096bac
packages/@vue/cli-service/lib/commands/build/setPublicPath.js
@@ -2,7 +2,7 @@
2
3
if (typeof window !== 'undefined') {
4
var i
5
- if ((i = window.document.currentScript) && (i = i.src.match(/(.+\/)[^/]+\.js$/))) {
+ if ((i = window.document.currentScript) && (i = i.src.match(/(.+\/)[^/]+\.js(\?.*)?$/))) {
6
__webpack_public_path__ = i[1] // eslint-disable-line
7
}
8
0 commit comments