Add tailwind and Monaco

This commit is contained in:
Sidharth Vinod
2021-05-09 18:10:52 +05:30
parent f9fee87fca
commit be3b763838
14 changed files with 1196 additions and 368 deletions
+22
View File
@@ -0,0 +1,22 @@
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: [
// Some plugins, like postcss-nested, need to run before Tailwind
tailwindcss,
// But others, like autoprefixer, need to run after
autoprefixer,
!dev && cssnano({
preset: "default",
}),
],
};