File tree 2 files changed +2
-0
lines changed
packages/@vuepress/core/lib/internal-plugins
2 files changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -22,6 +22,7 @@ module.exports = (options, ctx) => ({
22
22
23
23
const themePalette = path . resolve ( ctx . themePath , 'styles/palette.styl' )
24
24
const userPalette = path . resolve ( sourceDir , '.vuepress/styles/palette.styl' )
25
+ . replace ( / [ \\ ] + / g, '/' )
25
26
26
27
const themePaletteContent = fs . existsSync ( themePalette )
27
28
? `@import(${ JSON . stringify ( themePalette ) } )`
Original file line number Diff line number Diff line change @@ -17,6 +17,7 @@ module.exports = (options, ctx) => ({
17
17
18
18
const themeStyle = path . resolve ( ctx . themePath , 'styles/index.styl' )
19
19
const userStyle = path . resolve ( sourceDir , '.vuepress/styles/index.styl' )
20
+ . replace ( / [ \\ ] + / g, '/' )
20
21
21
22
const themeStyleContent = fs . existsSync ( themeStyle )
22
23
? `@import(${ JSON . stringify ( themeStyle ) } )`
You can’t perform that action at this time.
0 commit comments