Skip to content
This repository was archived by the owner on Nov 21, 2025. It is now read-only.

Commit b0caf5e

Browse files
simonreletrakannimer
authored andcommitted
fix(docz-core): always copy theme under src (#1105) (#1194)
1 parent e4b4a40 commit b0caf5e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/docz-core/src/bundler/machine/actions.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ export const ensureFiles = ({ args }: ServerMachineCtx) => {
2727
themeDirs.forEach(dir => {
2828
const chunkedPath = dir.split('/')
2929
const themeName = chunkedPath[chunkedPath.length - 1]
30-
fs.copySync(dir, path.join(paths.docz, args.themesDir, themeName))
30+
fs.copySync(dir, path.join(paths.docz, 'src', themeName))
3131
})
3232
copyDoczRc(args.config)
3333
ensureFile('gatsby-browser.js')

0 commit comments

Comments
 (0)