Skip to content

Commit 1198be0

Browse files
committed
Revert fix search
1 parent 9609773 commit 1198be0

File tree

1 file changed

+0
-17
lines changed

1 file changed

+0
-17
lines changed

web/astro.config.mjs

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -101,21 +101,4 @@ export default defineConfig({
101101
],
102102
}),
103103
],
104-
105-
vite: {
106-
plugins: [
107-
{
108-
name: 'override-pagefind-config',
109-
closeBundle: async () => {
110-
const configPath = path.join('dist', 'pagefind', 'pagefind.json');
111-
112-
if (fs.existsSync(configPath)) {
113-
let config = JSON.parse(fs.readFileSync(configPath, 'utf-8'));
114-
config.source = 'pages';
115-
fs.writeFileSync(configPath, JSON.stringify(config));
116-
}
117-
},
118-
},
119-
],
120-
}
121104
});

0 commit comments

Comments
 (0)