mirror of
https://github.com/xHyroM/roles-bot.git
synced 2024-11-23 08:51:04 +01:00
18 lines
321 B
JavaScript
18 lines
321 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",
|
||
|
}),
|
||
|
],
|
||
|
};
|