Inject css at the top of chunk file in lib mode using import statement, support multiple entries.
The vite-plugin-lib-inject-css is a Vite plugin designed for injecting CSS at the top of each chunk file in library mode using import statements. It supports multi-entries build, especially catered to building component libraries. This plugin enhances the development experience by helping to associate CSS files with component entries, ensuring a seamless integration of styles within the build process.
Vite is a build tool that aims to provide a faster and leaner development experience for modern web projects
ESLint is a linter for JavaScript that analyzes code to detect and report on potential problems and errors, as well as enforce consistent code style and best practices, helping developers to write cleaner, more maintainable code.
TypeScript is a superset of JavaScript, providing optional static typing, classes, interfaces, and other features that help developers write more maintainable and scalable code. TypeScript's static typing system can catch errors at compile-time, making it easier to build and maintain large applications.