mirror of
https://github.com/withastro/astro.git
synced 2024-12-23 21:53:55 -05:00
2e8726feec
* Individually enable Speed Insights and Web Analytics * Update pnpm-lock.yaml * Remove .only on tests * Fix build * Move `beforeSend` out of config * Address feedback from review * Update README.md * Add back the `analytics` property and add deprecation warning when used * Add migration guide for the deprecated `analytics` property * Update packages/integrations/vercel/README.md Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca> * Update README.md * Fix external dependency issue * Simplify plugin and reduce scope * Update .changeset/sixty-teachers-tap.md Co-authored-by: Emanuele Stoppa <my.burning@gmail.com> * Apply feedback from review * Move exposeEnv to speed-insights since it's only used there --------- Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca> Co-authored-by: Matthew Phillips <matthew@skypack.dev> Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
10 lines
187 B
JavaScript
10 lines
187 B
JavaScript
import { defineConfig } from 'astro/config';
|
|
import vercel from '@astrojs/vercel/static';
|
|
|
|
export default defineConfig({
|
|
adapter: vercel({
|
|
webAnalytics: {
|
|
enabled: true
|
|
}
|
|
})
|
|
});
|