UNPKG

better-npm-init

Version:

A better version of npm init, with templates and more. Usage: better-npm-init <template> [--yarn] [--install] [--git] [--yes] [--help]

11 lines (9 loc) 319 B
// Please do not use the array form (like ['tailwindcss', 'postcss-preset-env']) // it will create an unexpected error: Invalid PostCSS Plugin found: [0] module.exports = { plugins: { tailwindcss: {}, autoprefixer: {}, ...(process.env.NODE_ENV === 'production' ? { cssnano: {} } : {}), }, };