Initial docs (#61)

Add initial documentation site.

Co-authored-by: ambiguous48 <33713262+ambiguous48@users.noreply.github.com>
This commit is contained in:
rgossiaux
2022-03-01 13:14:53 -08:00
committed by GitHub
parent 01954a0693
commit 9b43312735
46 changed files with 6373 additions and 10 deletions

View File

@@ -1,6 +1,7 @@
const tailwindcss = require("tailwindcss");
const autoprefixer = require("autoprefixer");
const cssnano = require("cssnano");
const nesting = require("tailwindcss/nesting");
const mode = process.env.NODE_ENV;
const dev = mode === "development";
@@ -8,13 +9,14 @@ const dev = mode === "development";
const config = {
plugins: [
//Some plugins, like tailwindcss/nesting, need to run before Tailwind,
nesting(),
tailwindcss(),
//But others, like autoprefixer, need to run after,
autoprefixer(),
!dev &&
cssnano({
preset: "default",
}),
cssnano({
preset: "default",
}),
],
};