diff --git a/vite.config.js b/vite.config.js index 00246140..7827f8a9 100644 --- a/vite.config.js +++ b/vite.config.js @@ -1,6 +1,7 @@ import {defineConfig} from 'vite'; import laravel from 'laravel-vite-plugin'; import vue from '@vitejs/plugin-vue'; +import path from 'path'; export default defineConfig({ plugins: [ @@ -24,4 +25,9 @@ export default defineConfig({ }, }), ], + resolve: { + alias: { + '!': path.resolve(__dirname, './packages'), + }, + }, });