chore: add module declaration for web asset imports

This commit is contained in:
weishu
2025-12-24 18:17:06 +08:00
parent e0f0221453
commit 92d9546a9d
+5
View File
@@ -7,3 +7,8 @@ export interface EmbeddedWebAsset {
}
export const embeddedAssets: EmbeddedWebAsset[];
declare module '*web/dist/*' {
const sourcePath: string;
export default sourcePath;
}