vercel analytics script on both pages; disable project SSO protection (was 404-ing visitors)
This commit is contained in:
1 parent
cc6a660729
commit
632d053de9
68 files changed
+5662
No files matched your search
+90
@@ -0,0 +1,90 @@
|
||||
import { defineConfig } from 'tsup';
|
||||
|
||||
const cfg = {
|
||||
splitting: false,
|
||||
sourcemap: true,
|
||||
clean: true,
|
||||
treeshake: false,
|
||||
dts: true,
|
||||
format: ['esm', 'cjs'],
|
||||
};
|
||||
|
||||
export default defineConfig([
|
||||
{
|
||||
...cfg,
|
||||
entry: {
|
||||
index: 'src/generic.ts',
|
||||
},
|
||||
outDir: 'dist',
|
||||
},
|
||||
{
|
||||
...cfg,
|
||||
entry: {
|
||||
index: 'src/nextjs/index.tsx',
|
||||
},
|
||||
external: ['react', 'next'],
|
||||
outDir: 'dist/next',
|
||||
},
|
||||
{
|
||||
...cfg,
|
||||
entry: {
|
||||
index: 'src/nuxt/module.ts',
|
||||
},
|
||||
external: [
|
||||
'vue',
|
||||
'vue-router',
|
||||
'nuxt',
|
||||
'@nuxt/kit',
|
||||
'@nuxt/schema',
|
||||
'#imports',
|
||||
],
|
||||
outDir: 'dist/nuxt',
|
||||
},
|
||||
{
|
||||
...cfg,
|
||||
entry: {
|
||||
index: 'src/nuxt/runtime/index.ts',
|
||||
},
|
||||
external: ['vue', 'vue-router', 'nuxt'],
|
||||
outDir: 'dist/nuxt/runtime',
|
||||
},
|
||||
{
|
||||
...cfg,
|
||||
entry: {
|
||||
index: 'src/react/index.tsx',
|
||||
},
|
||||
external: ['react'],
|
||||
outDir: 'dist/react',
|
||||
},
|
||||
{
|
||||
...cfg,
|
||||
entry: {
|
||||
index: 'src/remix/index.tsx',
|
||||
},
|
||||
external: ['react', '@remix-run/react', 'react-router'],
|
||||
outDir: 'dist/remix',
|
||||
},
|
||||
{
|
||||
...cfg,
|
||||
entry: {
|
||||
index: 'src/server/index.ts',
|
||||
},
|
||||
outDir: 'dist/server',
|
||||
},
|
||||
{
|
||||
...cfg,
|
||||
entry: {
|
||||
index: 'src/sveltekit/index.ts',
|
||||
},
|
||||
external: ['svelte', '@sveltejs/kit', '$app'],
|
||||
outDir: 'dist/sveltekit',
|
||||
},
|
||||
{
|
||||
...cfg,
|
||||
entry: {
|
||||
index: 'src/vue/index.ts',
|
||||
},
|
||||
external: ['vue', 'vue-router'],
|
||||
outDir: 'dist/vue',
|
||||
},
|
||||
]);
|
||||
Reference in new issue
Block a user