mirror of
https://github.com/xHyroM/links.git
synced 2024-11-22 07:31:06 +01:00
17 lines
375 B
JavaScript
17 lines
375 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",
|
|
}),
|
|
],
|
|
};
|