mirror of
https://github.com/nuxt/nuxt.git
synced 2024-12-17 17:57:13 +00:00
fix(builder): webpack chunk names for windows
This commit is contained in:
parent
38b71cbe04
commit
c377a78e7d
@ -107,7 +107,7 @@ export function wp(p = '') {
|
|||||||
export function wChunk(p = '') {
|
export function wChunk(p = '') {
|
||||||
/* istanbul ignore if */
|
/* istanbul ignore if */
|
||||||
if (isWindows) {
|
if (isWindows) {
|
||||||
return p.replace(/\//g, '\\\\')
|
return p.replace(/\\/g, '/')
|
||||||
}
|
}
|
||||||
return p
|
return p
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user