ojvribeiro / vulmix

A simple way to start a Vue 3 app

Home Page:https://vulmix.dev

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Create `webpackConfig` field in `vulmix.config.ts`

ojvribeiro opened this issue · comments

It should work like this:

import { VulmixConfig } from '../types/vulmix-config'

module.exports = <VulmixConfig>{
  webpackConfig: {
    resolve: {
      alias: {
        // Should add the `@libs` alias
        '@libs': `${vulmix.globals.projectRootPath}/libs`
      }
    }
  }
}