pl-hooks: more prefetching

Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
This commit is contained in:
marcin mikołajczak
2024-10-21 12:07:19 +02:00
parent 558f89ee10
commit 2fb53d92be
6 changed files with 24 additions and 9 deletions

View File

@ -4,6 +4,8 @@ import { resolve } from 'path';
import { defineConfig } from 'vite';
import dts from 'vite-plugin-dts';
import pkg from './package.json';
export default defineConfig({
plugins: [dts({ include: ['lib'], insertTypesEntry: true })],
build: {
@ -16,6 +18,9 @@ export default defineConfig({
},
target: 'esnext',
sourcemap: true,
rollupOptions: {
external: Object.keys(pkg.dependencies),
},
},
resolve: {
alias: [