Skip to content

brpaz/vite-manifest-parser

Repository files navigation

Vite Manifest Parser

Node module to parse Vite manifest files.

GitHub Workflow Status NPM Commitizen friendly License

Install

npm i @brpaz/vite-manifest-parser --D

Or with yarn:

yarn add @brpaz/vite-manifest-parser --dev

Usage

import { ManifestParser } from 'vite-manifest-parser';

const parser = new ManifestParser('<path to manifest>');
const jsPath = parser.getScript('src/assets/main.js');

Contributing

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.

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

Author

👤 Bruno Paz

📝 License

This project is MIT licensed.