Add types to postcss.config.cjs

This commit is contained in:
Alex Gleason 2023-12-21 11:21:46 -06:00
parent 6fd6758859
commit 2d975b7abb
No known key found for this signature in database
GPG key ID: 7211D1F99744FBB7

View file

@ -1,7 +1,10 @@
module.exports = ({ env }) => ({
/** @type {import('postcss-load-config').ConfigFn} */
const config = ({ env }) => ({
plugins: {
tailwindcss: {},
autoprefixer: {},
cssnano: env === 'production' ? {} : false,
},
});
module.exports = config;