image.png

    1. import path from 'path'
    2. const pathSrc = path.resolve(__dirname, 'src')
    3. resolve: {
    4. alias: {
    5. '@/': `${pathSrc}/`
    6. },
    7. },