Simple demo for building a TypeScript project with Bazel.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
interpreter Update build files & refactor Nov 18, 2018
lexer Update build files & refactor Nov 18, 2018
parser Update build files & refactor Nov 18, 2018
.gitignore Introduce build files Nov 17, 2018
BUILD Add rollup Nov 18, 2018
README.md Update readme Nov 20, 2018
WORKSPACE Update build files Nov 19, 2018
graph.png Update build files Nov 19, 2018
package.json Update build files Nov 19, 2018
test.ts Update build files & refactor Nov 18, 2018
tsconfig.json Add rollup Nov 18, 2018
yarn.lock Update yarn.lock Nov 18, 2018

README.md

Bazel TypeScript Demo

This repository contains the code from my blog post "Building TypeScript with Bazel".

Usage

To setup the project run:

yarn

To build the project:

./node_modules/.bin/bazel build :bundle

Execute the produced bundle:

node bazel-bin/bundle.js

License

MIT