Skip to content

Commit

Permalink
fix outDir path
Browse files Browse the repository at this point in the history
  • Loading branch information
AlecAivazis committed Oct 12, 2023
1 parent e2fcbf4 commit 87396dc
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions packages/houdini-adapter-cloudflare/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@ const adapter: Adapter = async ({ adapterPath, outDir, sourceDir }) => {
// import
workerContents = workerContents.replaceAll('houdini/adapter', adapterPath)

console.log({ outDir })

await fs.writeFile(path.join(outDir, '_worker.js'), workerContents!)
}

Expand Down
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', 'assets')
return path.join(this.projectRoot, 'dist')
}

get definitionsDocumentsPath() {
Expand Down

0 comments on commit 87396dc

Please sign in to comment.