Node module to parse Vite manifest files.
npm i @brpaz/vite-manifest-parser --D
Or with yarn:
yarn add @brpaz/vite-manifest-parser --dev
import { ManifestParser } from 'vite-manifest-parser';
const parser = new ManifestParser('<path to manifest>');
const jsPath = parser.getScript('src/assets/main.js');
Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are greatly appreciated.
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
👤 Bruno Paz
- Website: brunopaz.dev
- Github: @brpaz
- Twitter: @brunopaz88
This project is MIT licensed.