Skip to content

Instantly share code, notes, and snippets.

View shanerobinson's full-sized avatar

Shane Robinson shanerobinson

View GitHub Profile
I am attesting that this GitHub handle shanerobinson is linked to the Tezos account tz1RDJwMjQ2XpVCTZxZyrqA3tHFaEEMEnpEf for tzprofiles
sig:edsigthSD1yeQQ1qvEyKrAMF1Fgrf1f4eCzKPAVn9QDrfUUVD52fyQbfYEpZK5LYKC3XUcuUw7fxSwhevVxCEHXpTnaH7teipWB
@shanerobinson
shanerobinson / netlify.toml
Created February 6, 2021 18:22
Netlify TOML to correct Minify HTML problems
[[plugins]]
package = "netlify-plugin-minify-html"
[plugins.inputs]
contexts = [
'production',
'branch-deploy',
'deploy-preview'
]
@shanerobinson
shanerobinson / postcss.config.js
Last active March 31, 2020 21:12
PostCSS Config file for Svelte Sapper site using Tailwind and Markdown files
const tailwindcss = require("tailwindcss");
const cssnano = require('cssnano');
const purgecss = require("@fullhuman/postcss-purgecss")({
content: ["./src/**/*.svelte", "./src/**/*.html", "./src/**/*.md"],
defaultExtractor: content => content.match(/[A-Za-z0-9-_:/]+/g) || []
});
module.exports = {
plugins: [