I hereby claim:
- I am nsivertsen on github.
- I am nsivertsen (https://keybase.io/nsivertsen) on keybase.
- I have a public key ASA_FCmzwSIh2bzXcxG9E11CDhUf6R9TURnHWU2N-Qun-wo
To claim this, I am signing this object:
// Adapted from https://nodejs.org/dist/latest-v14.x/docs/api/esm.html#esm_transpiler_loader | |
import { readFileSync, writeFileSync } from 'fs' | |
import { dirname } from 'path' | |
import { URL, pathToFileURL, fileURLToPath } from 'url' | |
import esbuild from 'esbuild' | |
const baseURL = pathToFileURL(`${process.cwd()}/`).href | |
const tsExtensionRegex = /\.(tsx?)$/ | |
function readJSON(path) { |
function match(pattern, path) { | |
const pattern_components = pattern.split('/') | |
const path_components = path.split('/') | |
if (pattern_components.length !== path_components.length) { | |
return null | |
} | |
const params = {} |
{ | |
"imports": { | |
"htm": "https://unpkg.com/[email protected]/dist/htm.module.js", | |
"htm/preact": "https://unpkg.com/[email protected]/preact/index.module.js", | |
"preact": "https://unpkg.com/[email protected]/dist/preact.module.js", | |
"preact-render-to-string": "https://unpkg.com/[email protected]/dist/index.module.js" | |
} | |
} |
I hereby claim:
To claim this, I am signing this object:
/* | |
I have an Article component, that has the following child components: | |
- Heading | |
- Paragraph | |
- Quote | |
- Image | |
- Gallery | |
- Embed |
license: mit | |
height: 800 | |
border: no |
license: gpl-3.0 | |
height: 960 | |
border: no |
license: mit | |
height: 860 | |
border: no |