File tree Expand file tree Collapse file tree 1 file changed +1
-8
lines changed Expand file tree Collapse file tree 1 file changed +1
-8
lines changed Original file line number Diff line number Diff line change @@ -111,8 +111,6 @@ export default defineConfig({
111
111
sequential : true ,
112
112
order : 'post' ,
113
113
handler : async ( ) => {
114
- console . log ( '⏳ Konfiguruję PageFind...' ) ;
115
-
116
114
const targetDir = join ( 'dist' , 'pagefind' ) ;
117
115
const sourceDir = join ( 'dist' , '_pagefind' ) ;
118
116
@@ -127,10 +125,9 @@ export default defineConfig({
127
125
sourcePath ,
128
126
join ( targetDir , pattern . replace ( '*' , '' ) )
129
127
) ;
130
- console . log ( `📁 Skopiowano ${ pattern } ` ) ;
131
128
}
132
129
} catch ( error ) {
133
- console . warn ( `⚠️ Nie udało się skopiować ${ pattern } :` , error . message ) ;
130
+ console . warn ( `Filed to copy ${ pattern } :` , error . message ) ;
134
131
}
135
132
} ) ;
136
133
@@ -139,17 +136,13 @@ export default defineConfig({
139
136
const config = JSON . parse ( readFileSync ( configPath , 'utf-8' ) ) ;
140
137
config . source = 'pages' ;
141
138
writeFileSync ( configPath , JSON . stringify ( config ) ) ;
142
- console . log ( '⚙️ Zaktualizowano ścieżkę źródłową (pages)' ) ;
143
139
} else {
144
140
writeFileSync ( configPath , JSON . stringify ( {
145
141
source : 'pages' ,
146
142
bundlePath : '/pagefind/'
147
143
} ) ) ;
148
144
149
- console . log ( '⚙️ Utworzono nową konfigurację PageFind' ) ;
150
145
}
151
-
152
- console . log ( '✅ Konfiguracja PageFind zakończona' ) ;
153
146
}
154
147
}
155
148
}
You can’t perform that action at this time.
0 commit comments