Skip to content

Instantly share code, notes, and snippets.

View farolanf's full-sized avatar

Farolan Faisal farolanf

View GitHub Profile
@farolanf
farolanf / inline-styles.mjs
Last active May 17, 2023 01:04 — forked from Igloczek/inline-styles.mjs
Astro JS - Inline CSS
import path from 'node:path'
import fs from 'node:fs/promises'
import { globby } from 'globby'
const files = await globby('./dist/**/index.html')
await Promise.all(
files.map(async (htmlPath) => {
const pageStyles = []
const stylesPaths = []
@farolanf
farolanf / rearct-native-app-in-wsl2.md
Created December 15, 2020 13:29 — forked from bergmannjg/rearct-native-app-in-wsl2.md
Building a react native app in WSL2