michelegera / create-tailwindcss-boilerplate

🌬A bare-bones Tailwind CSS boilerplate
MIT License
118 stars 18 forks source link

How to disable minify HTML? #25

Closed f3liiix closed 1 month ago

f3liiix commented 3 months ago

I only write HTML and CSS, after I finish my work, I need to provide my colleague the highly readable HTML.

michelegera commented 3 months ago

Hey @f3liiix,

to disable CSS and HTML minification, try creating a .parcelrc file in the root of your project with this content:

{
    "extends": "@parcel/config-default",
    "optimizers": {
        "*.css": [],
        "*.html": []
    }
}

You should then find non-minified files in dist/. Let me know if that works!