DEV Community

loading...

Discussion on: Getting started with Sapper, Svelte, Postcss & Tailwind

Collapse
hqm42 profile image
Robert Steuck • Edited

Just add

    require('cssnano')({
      preset: ['default', {
        discardComments: {
          removeAll: true,
        },
      }],
    }),

to the plugins array in postcss.config.js to minify the index.css

Forem Open with the Forem app