What is mkdist?
mainmkdist is a lightweight file-to-file transformer designed to process files while preserving their original structure. Unlike traditional bundlers, it avoids losing modern syntax or original file organization.
Key features include:
- Asset Preservation: Copies all assets automatically.
- Vue Support: Handles Vue Single File Components (
.vue). - High Performance: Uses
esbuildfor fast, minimal transformations. - Type Generation: Generates
.d.tsdeclaration files for.ts,.js, and.vuefiles. - PostCSS Integration: Built-in support for
postcsswithautoprefixer,cssnano, andpostcss-nestedenabled by default.