mirror of
https://github.com/misskey-dev/misskey.git
synced 2026-05-05 18:15:53 +02:00
fix: unnecesary HMR when we opened setting page (#15756)
* refactor: add MarkerIdAssigner instead of processVueFile and remove transformedCodeCache object
* chore: add minimatch, a glob matcher
* chore: expose MarkerIdAssigner from plugin
* Revert "chore: expose MarkerIdAssigner from plugin"
This reverts commit 88c6d820f8.
* chore: add plugin to generate virtual module
* chore: parse inlining earlier
* chore: use virtual module in search
* chore: use remove old generation
* chore: fix type errors
* chore: add patch to workaround vitejs/vite#19792
* chore: improve filtering files to process
* chore: rename plugin
* docs: add comment for plugin ordering
* fix: unnecessary log
* fix: spdx license header
This commit is contained in:
18
packages/frontend/src/utility/virtual.d.ts
vendored
Normal file
18
packages/frontend/src/utility/virtual.d.ts
vendored
Normal file
@@ -0,0 +1,18 @@
|
||||
/*
|
||||
* SPDX-FileCopyrightText: syuilo and misskey-project
|
||||
* SPDX-License-Identifier: AGPL-3.0-only
|
||||
*/
|
||||
|
||||
declare module 'search-index:settings' {
|
||||
export type GeneratedSearchIndexItem = {
|
||||
id: string;
|
||||
path?: string;
|
||||
label: string;
|
||||
keywords: string[];
|
||||
icon?: string;
|
||||
inlining?: string[];
|
||||
children?: GeneratedSearchIndexItem[];
|
||||
};
|
||||
|
||||
export const searchIndexes: GeneratedSearchIndexItem[];
|
||||
}
|
||||
Reference in New Issue
Block a user