Skip to content

Latest commit

 

History

History
28 lines (18 loc) · 429 Bytes

readme.md

File metadata and controls

28 lines (18 loc) · 429 Bytes

ESBuild Template for Node/Browser Libraries

  • Gulp
  • TypeScript

Use this template

Library usage

Browser

Library is exported as lib global variable. Edit it in gulpfile

Node

// JavaScript
const lib = require("lib-name")

console.log(lib.hello())
// TypeScript
import lib from "lib-name"

console.log(lib.hello())