fix storybook theme preloads
This commit is contained in:
parent
823b15858d
commit
436d4442f2
|
@ -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(
|
||||
|
|
Loading…
Reference in New Issue