16 lines
361 B
TypeScript
16 lines
361 B
TypeScript
|
/*
|
||
|
* SPDX-FileCopyrightText: syuilo and misskey-project
|
||
|
* SPDX-License-Identifier: AGPL-3.0-only
|
||
|
*/
|
||
|
|
||
|
import { searchIndexes } from '../vite.config.js';
|
||
|
import { generateSearchIndex } from '../lib/vite-plugin-create-search-index.js';
|
||
|
|
||
|
async function main() {
|
||
|
for (const searchIndex of searchIndexes) {
|
||
|
await generateSearchIndex(searchIndex);
|
||
|
}
|
||
|
}
|
||
|
|
||
|
main();
|