Skip to content

Commit

Permalink
appDir can be configurable
Browse files Browse the repository at this point in the history
  • Loading branch information
benmccann committed Feb 16, 2023
1 parent b1ace31 commit 2a153ec
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion packages/kit/src/core/adapt/builder.js
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,10 @@ export function create_builder({
},

writeClient(dest) {
const server_assets = copy(`${config.kit.outDir}/output/server/_app/immutable/assets`, join(dest, `_app/immutable/assets`));
const server_assets = copy(
`${config.kit.outDir}/output/server/${config.kit.appDir}/immutable/assets`,
join(dest, config.kit.appDir, 'immutable/assets')
);
const client_assets = copy(`${config.kit.outDir}/output/client`, dest);
return Array.from(new Set(...server_assets, ...client_assets));
},
Expand Down

0 comments on commit 2a153ec

Please sign in to comment.