Skip to content

Instantly share code, notes, and snippets.

@nolanlawson
nolanlawson / .gitignore
Last active September 30, 2024 16:59
Test Vite with Rollup plugin warnings
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
pnpm-debug.log*
lerna-debug.log*
node_modules
@nolanlawson
nolanlawson / .gitignore
Last active September 30, 2024 16:59
Test Vitest with Rollup plugin warnings
node_modules
@nolanlawson
nolanlawson / chrome.config.json
Last active September 9, 2024 05:34
Tachometer config for Firefox/Chrome snap paths on Ubuntu
{
"browser": {
"name": "chrome",
"headless": true,
"binary": "/snap/chromium/current/usr/lib/chromium-browser/chrome"
}
}
@nolanlawson
nolanlawson / .gitignore
Last active August 20, 2024 20:52
Repro WDIO Custom Elements bug
node_modules
@nolanlawson
nolanlawson / .gitignore
Last active March 9, 2024 18:53
Repro an issue with Vitest and crypto.subtle.digest
node_modules
@nolanlawson
nolanlawson / .gitignore
Created January 28, 2024 17:25
Repro multi-page leak in Chromium 121
node_modules
*.heapsnapshot
@nolanlawson
nolanlawson / .gitignore
Created December 10, 2023 18:03
Svelte createRoot with reused props issue (Svelte v4)
bundle.js
bundle.js.map
node_modules
@nolanlawson
nolanlawson / .gitignore
Last active December 10, 2023 18:03
Svelte createRoot with reused props issue (Svelte v5)
bundle.js
bundle.js.map
node_modules
@nolanlawson
nolanlawson / .gitignore
Last active February 20, 2024 17:41
rollup-plugin-svelte v5 emitCss issue
node_modules
@nolanlawson
nolanlawson / test-finalization-registry.html
Last active March 2, 2023 16:17
Test FinalizationRegistry
<!doctype html>
<html>
<button id="derefKey">Deref key</button>
<button id="derefValue">Deref value</button>
<script type=module>
const reg = new FinalizationRegistry(held => {
console.log('gced', held)
})
const map = new WeakMap()