Skip to content

Instantly share code, notes, and snippets.

@FND
Created July 21, 2020 12:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save FND/658551ecac43d72281c8486fe53eab59 to your computer and use it in GitHub Desktop.
Save FND/658551ecac43d72281c8486fe53eab59 to your computer and use it in GitHub Desktop.
faucet-typescript sample
/node_modules
/package-lock.json
/dist
"use strict";
module.exports = {
js: [{
source: "./index.ts",
target: "./dist/bundle.js",
typescript: true
//typescript: {
// outDir
//}
}]
};
console.log("hello world");
{
"scripts": {
"start": "faucet --watch",
"compile": "faucet --compact"
},
"dependencies": {},
"devDependencies": {
"faucet-pipeline-typescript": "^2.1.6",
"tslib": "^2.0.0"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment