We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent acc20ec commit 5fe0b83Copy full SHA for 5fe0b83
ai/vite.config.ts
@@ -25,8 +25,12 @@ export default defineConfig(({ mode }) => {
25
analog({
26
nitro: {
27
output: {
28
- dir: "./dist/ai/analog/public",
29
- serverDir: "./dist/ai/analog/public/_worker.js",
+ // this will generate the compiled files under
+ // ai/dist & the worker files will be under ai/dist/_worker.js folder
30
+ // test the build locally for cloudflare:
31
+ // BUILD_PRESET=cloudflare-pages npx nx build ai
32
+ dir: "./dist",
33
+ serverDir: "./dist/_worker.js",
34
},
35
36
}),
0 commit comments