mirror of
https://github.com/misskey-dev/misskey.git
synced 2024-12-22 17:25:08 +01:00
fix storybook theme preloads
This commit is contained in:
parent
823b15858d
commit
436d4442f2
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue