vite.config.example.js 230 Bytes Raw Blame History Permalink 1 2 3 4 5 6 7 8 9 10 11 12 const { mergeConfig } = require('vite'); module.exports = (config) => { // Important: always return the modified config return mergeConfig(config, { resolve: { alias: { '@': '/src', }, }, }); };