Skip to content

Commit

Permalink
chore: fix resolve alias for playground app
Browse files Browse the repository at this point in the history
  • Loading branch information
mattgoud committed Jul 26, 2024
1 parent 781e9fe commit c3efae4
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions playground/vite.config.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import path from 'path';
import { resolve } from 'path';
import { defineConfig } from 'vite';
import vue from '@vitejs/plugin-vue';
import tailwindcss from 'tailwindcss';
Expand All @@ -20,12 +20,11 @@ export default defineConfig({
plugins: [tailwindcss()]
}
},

resolve: {
alias: {
'@prestashopcorp/puik-theme/assets': path.resolve(__dirname, './node_modules/@prestashopcorp/puik-theme/assets'),
'@prestashopcorp/puik-theme/src': path.resolve(__dirname, './node_modules/@prestashopcorp/puik-theme/src'),
'@prestashopcorp/puik-theme': path.resolve(__dirname, './node_modules/@prestashopcorp/puik-theme/dist')
'@prestashopcorp/puik-theme/assets': resolve(__dirname, '../node_modules/@prestashopcorp/puik-theme/assets'),
'@prestashopcorp/puik-theme/src': resolve(__dirname, '../node_modules/@prestashopcorp/puik-theme/src'),
'@prestashopcorp/puik-theme': resolve(__dirname, '../node_modules/@prestashopcorp/puik-theme/dist')
}
}
});

0 comments on commit c3efae4

Please sign in to comment.