Sveltekit boilerplate
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

23 lines
401 B

/* jshint esversion: 11 */
const tailwindcss = require('tailwindcss');
const autoprefixer = require('autoprefixer');
const cssnano = require('cssnano');
const mode = process.env.NODE_ENV;
const dev = mode === 'development';
const config = {
plugins: [
tailwindcss(),
autoprefixer({
cascade: true,
}),
!dev &&
cssnano({
preset: 'advanced',
}),
],
};
module.exports = config;