Skip to content

Commit

Permalink
config(site): Define process.env.VERCEL_ANALYTICS_ID
Browse files Browse the repository at this point in the history
  • Loading branch information
dengfuping committed Oct 20, 2023
1 parent dac3d80 commit 85dd897
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .dumirc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@ export default defineConfig({
},
extraBabelPresets: [require.resolve('@emotion/babel-preset-css-prop')],
outputPath: 'site',
define: {
'process.env.VERCEL_ANALYTICS_ID': process.env.VERCEL_ANALYTICS_ID,
},
analytics: {
ga_v2: 'G-81Y5XPZY2E',
},
Expand Down

0 comments on commit 85dd897

Please sign in to comment.