Verify story asset references

This commit is contained in:
2026-07-05 07:35:24 +09:00
parent fd8891162b
commit 21a64cf634
4 changed files with 281 additions and 2 deletions

View File

@@ -1,4 +1,4 @@
const storyModules = import.meta.glob('../../assets/images/story/*.png', {
const storyModules = import.meta.glob(['../../assets/images/story/*.png', '../../assets/images/taoyuan-oath-title.png'], {
eager: true,
import: 'default'
}) as Record<string, string>;
@@ -22,7 +22,8 @@ const storyAssetAliases: Record<string, string> = {
'story-qishan-renewed': 'story-qishan-renewed-offensive',
'story-hanzhong-rain': 'story-hanzhong-rain-defense',
'story-nanzhong-captures': 'story-nanzhong-seven-captures',
'story-resolve': 'story-liu-bei-resolve'
'story-resolve': 'story-liu-bei-resolve',
'title-taoyuan': 'story-taoyuan-oath-title'
};
function storyKeyFromPath(path: string) {