Skip to content

Commit

Permalink
assets have to be nested under assets
Browse files Browse the repository at this point in the history
  • Loading branch information
AlecAivazis committed Oct 12, 2023
1 parent 10f9db5 commit 5d2359e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/houdini/src/lib/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -348,7 +348,7 @@ export class Config {
}

get routerBuildDirectory() {
return path.join(this.projectRoot, 'dist')
return path.join(this.projectRoot, 'dist', 'assets')
}

get definitionsDocumentsPath() {
Expand Down
2 changes: 1 addition & 1 deletion packages/houdini/src/vite/houdini.ts
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ export default function Plugin(opts: PluginConfig = {}): VitePlugin {
publicBase: viteConfig.base,
outDir: config.routerBuildDirectory,
manifest,
adapterPath: './ssr/entries/adapter',
adapterPath: './assets/ssr/entries/adapter',
})

// if there is a public directory at the root of the project,
Expand Down

0 comments on commit 5d2359e

Please sign in to comment.