work on turning pl-hooks into a separate library
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
This commit is contained in:
@ -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)) },
|
||||
],
|
||||
},
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user