vite-plugin-alias
v0.1.1
Published
[![NPM version](https://img.shields.io/npm/v/vite-plugin-alias?color=a1b858&label=)](https://www.npmjs.com/package/vite-plugin-alias)
Downloads
896
Readme
vite-plugin-alias
Alias auto generation for Vite.
Install
#npm
npm install --save-dev vite-plugin-alias
# yarn
yarn add --dev vite-plugin-alias
# pnpm
pnpm install --save-dev vite-plugin-alias
Usage
Add it to vite.config.js
// vite.config.ts
import Alias from 'vite-plugin-alias'
export default {
plugins: [
Alias()
]
}
Credits
Thanks to: