23a4ebb74a
Changed the whole tech stack to SvelteKit which means: - Typescript - SSR - No fastify :( - Beta, but it's fine! Other changes: - Tailwind -> Tailwind JIT - A lot more
19 lines
319 B
JavaScript
19 lines
319 B
JavaScript
const tailwindcss = require('tailwindcss');
|
|
const autoprefixer = require('autoprefixer');
|
|
const cssnano = require('cssnano');
|
|
|
|
const mode = process.env.NODE_ENV;
|
|
const dev = mode === 'development';
|
|
|
|
module.exports = {
|
|
plugins: [
|
|
tailwindcss,
|
|
autoprefixer,
|
|
|
|
!dev &&
|
|
cssnano({
|
|
preset: 'default'
|
|
})
|
|
]
|
|
};
|