Created
April 13, 2017 06:07
-
-
Save Majirefy/47c6b6714f4656841bb65e9be804dfb1 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var browserify = require('browserify'); | |
var tsify = require('tsify'); | |
browserify() | |
.add('src/main.ts') | |
.plugin(tsify, { project: '.' }) | |
.transform('browserify-shim') | |
.bundle() | |
.on('error', function (error) { console.error(error.toString()); }) | |
.pipe(process.stdout); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment