Revert "build: publish build tools on github (#5458)" (#5526)

This reverts commit 0675568d03.
This commit is contained in:
Jeremy Elbourn
2017-07-05 18:10:22 -07:00
committed by mmalerba
parent 38b4265704
commit 3181335074
8 changed files with 189 additions and 137 deletions
+9
View File
@@ -7,10 +7,19 @@
const path = require('path');
const tsconfigPath = path.join(__dirname, 'tools/gulp/tsconfig.json');
const tsconfig = require(tsconfigPath);
// Register TS compilation.
require('ts-node').register({
project: tsconfigPath
});
// The gulp tsconfig file maps specific imports to relative paths. In combination with ts-node
// this doesn't work because the JavaScript output will still refer to the imports instead of
// to the relative path. Tsconfig-paths can be used to support path mapping inside of Node.
require("tsconfig-paths").register({
baseUrl: path.dirname(tsconfigPath),
paths: tsconfig.compilerOptions.paths
});
require('./tools/gulp/gulpfile');