Skip to content

Commit 8347925

Browse files
committed
Try fix search again
1 parent eb1742b commit 8347925

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

web/astro.config.mjs

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -111,8 +111,6 @@ export default defineConfig({
111111
sequential: true,
112112
order: 'post',
113113
handler: async () => {
114-
console.log('⏳ Konfiguruję PageFind...');
115-
116114
const targetDir = join('dist', 'pagefind');
117115
const sourceDir = join('dist', '_pagefind');
118116

@@ -127,10 +125,9 @@ export default defineConfig({
127125
sourcePath,
128126
join(targetDir, pattern.replace('*', ''))
129127
);
130-
console.log(`📁 Skopiowano ${pattern}`);
131128
}
132129
} catch (error) {
133-
console.warn(`⚠️ Nie udało się skopiować ${pattern}:`, error.message);
130+
console.warn(`Filed to copy ${pattern}:`, error.message);
134131
}
135132
});
136133

@@ -139,17 +136,13 @@ export default defineConfig({
139136
const config = JSON.parse(readFileSync(configPath, 'utf-8'));
140137
config.source = 'pages';
141138
writeFileSync(configPath, JSON.stringify(config));
142-
console.log('⚙️ Zaktualizowano ścieżkę źródłową (pages)');
143139
} else {
144140
writeFileSync(configPath, JSON.stringify({
145141
source: 'pages',
146142
bundlePath: '/pagefind/'
147143
}));
148144

149-
console.log('⚙️ Utworzono nową konfigurację PageFind');
150145
}
151-
152-
console.log('✅ Konfiguracja PageFind zakończona');
153146
}
154147
}
155148
}

0 commit comments

Comments
 (0)