mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-05 16:11:33 +08:00
552 B
552 B
import { mergeConfig } from 'vite';
export default {
// ...
viteFinal: async (viteConfig) => {
return mergeConfig(viteConfig, {
resolve: {
alias: {
'@components': '/src/components',
// ...
},
},
});
},
};
export default defineConfig({
// ...
resolve: {
alias: {
'@components': '/src/components',
// ...
},
},
});