We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b0a0355 commit 1c789fbCopy full SHA for 1c789fb
src/loader.js
@@ -68,7 +68,7 @@ export function pitch(request) {
68
const childFilename = '*'; // eslint-disable-line no-path-concat
69
const publicPath =
70
typeof options.publicPath === 'string'
71
- ? options.publicPath.endsWith('/')
+ ? options.publicPath === '' || options.publicPath.endsWith('/')
72
? options.publicPath
73
: `${options.publicPath}/`
74
: typeof options.publicPath === 'function'
0 commit comments