work on turning pl-hooks into a separate library

Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
This commit is contained in:
marcin mikołajczak
2024-10-13 00:15:58 +02:00
parent dc5fa13e64
commit 8a047d7c3a
78 changed files with 340 additions and 318 deletions

View File

@ -1,3 +1,4 @@
import { fileURLToPath, URL } from 'node:url';
import { resolve } from 'path';
import { defineConfig } from 'vite';
@ -16,4 +17,9 @@ export default defineConfig({
target: 'esnext',
sourcemap: true,
},
resolve: {
alias: [
{ find: 'pl-hooks', replacement: fileURLToPath(new URL('./lib', import.meta.url)) },
],
},
});