Skip to content

Instantly share code, notes, and snippets.

@lannex
Last active March 27, 2020 11:40
Show Gist options
  • Save lannex/91968f13006019242da5fcd0c4bfbdfd to your computer and use it in GitHub Desktop.
Save lannex/91968f13006019242da5fcd0c4bfbdfd to your computer and use it in GitHub Desktop.
postcss.config.js
const tailwindcss = require('tailwindcss');
const postcssPresetEnv = require('postcss-preset-env');
const cssnano = require('cssnano');
module.exports = {
plugins: [
tailwindcss('./tailwind.config.js'),
postcssPresetEnv({ stage: 0 }),
cssnano({
preset: `default`,
}),
],
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment