We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 07a8a08 + 4dfe495 commit 0ac7fdcCopy full SHA for 0ac7fdc
templates/vite.config.ts.template
@@ -4,4 +4,9 @@ import react from '@vitejs/plugin-react'
4
// https://vite.dev/config/
5
export default defineConfig({
6
plugins: [react()],
7
+ define: {
8
+ // Analytics: Mark this project as created via create-cloudinary-react CLI
9
+ 'process.env.CLOUDINARY_SOURCE': '"cli"',
10
+ 'process.env.CLD_CLI': '"true"',
11
+ },
12
})
0 commit comments