mirror of
https://github.com/misskey-dev/misskey
synced 2024-11-27 14:28:59 +09:00
fix storybook theme preloads
This commit is contained in:
parent
823b15858d
commit
436d4442f2
@ -30,7 +30,7 @@ const keys = [
|
|||||||
'd-u0',
|
'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(
|
writeFile(
|
||||||
new URL('./themes.ts', import.meta.url),
|
new URL('./themes.ts', import.meta.url),
|
||||||
`export default ${JSON.stringify(
|
`export default ${JSON.stringify(
|
||||||
|
Loading…
Reference in New Issue
Block a user