Add path alias for packages
This commit is contained in:
parent
2ecd4b9643
commit
edb1eeb0d8
|
@ -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'),
|
||||
},
|
||||
},
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue