File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
packages/solutions/app-tools/src/plugins/analyze Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -109,7 +109,7 @@ export const getHtmlTemplate = async (
109109 PartialPosition . INDEX ,
110110 ) ;
111111 if ( customIndexTemplate ) {
112- htmlTemplates [ entryName ] = customIndexTemplate . file ;
112+ htmlTemplates [ entryName ] = customIndexTemplate . file . replace ( / \\ / g , '/' ) ;
113113 } else {
114114 const getPartialInitValue = ( position : PartialPosition ) => {
115115 const partial = findPartials ( htmlDir , name , position ) ;
@@ -134,7 +134,7 @@ export const getHtmlTemplate = async (
134134
135135 fs . outputFileSync ( templatePath , templates . html ( partials ) , 'utf8' ) ;
136136
137- htmlTemplates [ entryName ] = templatePath ;
137+ htmlTemplates [ entryName ] = templatePath . replace ( / \\ / g , '/' ) ;
138138 partialsByEntrypoint [ entryName ] = partials ;
139139
140140 const bottomTemplate = findPartials (
You can’t perform that action at this time.
0 commit comments