From c424c0eaa09c6e5f8088e8c9a460e5bff528e58c Mon Sep 17 00:00:00 2001 From: Matthias Goudjil Date: Fri, 12 Jul 2024 12:24:46 +0200 Subject: [PATCH] ci: related #358 - vitest config - try to fix path failed for import css files (5) --- .gitignore | 1 - vitest.config.ts | 6 +++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/.gitignore b/.gitignore index 907e2707..e024bc0e 100644 --- a/.gitignore +++ b/.gitignore @@ -10,7 +10,6 @@ node_modules # Bundle dist -!packages/theme/dist coverage packages/puik/version.ts diff --git a/vitest.config.ts b/vitest.config.ts index 1b3ad4c6..a15676da 100644 --- a/vitest.config.ts +++ b/vitest.config.ts @@ -25,9 +25,9 @@ export default defineConfig({ }, resolve: { alias: { - '@prestashopcorp/puik-theme/assets': resolve(__dirname, './packages/theme/assets'), - '@prestashopcorp/puik-theme/src': resolve(__dirname, './packages/theme/src'), - '@prestashopcorp/puik-theme': resolve(__dirname, './packages/theme/dist') + '@prestashopcorp/puik-theme/assets': resolve(__dirname, './nodes_modules/puik-theme/assets'), + '@prestashopcorp/puik-theme/src': resolve(__dirname, './nodes_modules/puik-theme/src'), + '@prestashopcorp/puik-theme': resolve(__dirname, './nodes_modules/puik-theme/dist') } } });