Skip to content

Instantly share code, notes, and snippets.

@FND
FND / README.md
Last active August 15, 2019 11:43
reduced test case for `require.resolve` regression in Node v12

reduced test case for require.resolve regression in Node v12

run automatically sets up the directory structure above, downloads various Node versions (see node_versions.txt; URL configured for macOS), executes the command above and reports the results

/path/to/lib
├── dummy
│ ├── index.js
@FND
FND / README.md
Last active August 9, 2019 12:04
transclusion proxy with Osgood
@FND
FND / config.js
Last active July 22, 2019 11:12
ESM with Node v12
export let token = "abc123";
@FND
FND / faucet.config.js
Last active May 4, 2019 13:17
Svelte with faucet-pipeline
"use strict";
let sveltify = require("./faucet_svelte");
module.exports = sveltify({
svelte: [{
source: "./src/index.js",
target: "./dist/bundle.js",
styles: "./dist/components.css",
dev: process.env.NODE_ENV !== "production"
@FND
FND / .editorconfig
Last active June 4, 2019 11:12
SSI with nginx
# http://editorconfig.org
root = true
[*]
charset = utf-8
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true
max_line_length = 80
@FND
FND / .gitignore
Last active March 14, 2019 11:02
test case for faucet-pipeline's watch mode on Windows
/node_modules
@FND
FND / .gitignore
Last active March 7, 2019 11:54
universal complate
/node_modules
/dist
@FND
FND / .gitignore
Last active February 21, 2019 06:38
test case: faucet-esnext vs. nanomorph
/node_modules
/bundle.js
@FND
FND / .editorconfig
Last active October 30, 2018 07:27
Rollup: test case for chaining plugins
# http://editorconfig.org
root = true
[*]
charset = utf-8
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true
max_line_length = 80
@FND
FND / .gitignore
Created September 11, 2018 10:26
complate string rendering
/node_modules
/dist