1
0
forked from mirror/misskey

fix storybook theme preloads

This commit is contained in:
kakkokari-gtyih 2024-09-06 18:32:58 +09:00
parent 823b15858d
commit 436d4442f2

View File

@ -30,7 +30,7 @@ const keys = [
'd-u0',
]
await Promise.all(keys.map((key) => readFile(new URL(`../src/themes/${key}.json5`, import.meta.url), 'utf8'))).then((sources) => {
await Promise.all(keys.map((key) => readFile(new URL(`../../frontend-shared/themes/${key}.json5`, import.meta.url), 'utf8'))).then((sources) => {
writeFile(
new URL('./themes.ts', import.meta.url),
`export default ${JSON.stringify(