Skip to content

Commit 7e2e5a7

Browse files
committed
build: publish build tools on github
* Publishes the material2-build-tools on Github.
1 parent b00f838 commit 7e2e5a7

File tree

7 files changed

+712
-484
lines changed

7 files changed

+712
-484
lines changed

gulpfile.js

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -7,19 +7,10 @@
77
const path = require('path');
88

99
const tsconfigPath = path.join(__dirname, 'tools/gulp/tsconfig.json');
10-
const tsconfig = require(tsconfigPath);
1110

1211
// Register TS compilation.
1312
require('ts-node').register({
1413
project: tsconfigPath
1514
});
1615

17-
// The gulp tsconfig file maps specific imports to relative paths. In combination with ts-node
18-
// this doesn't work because the JavaScript output will still refer to the imports instead of
19-
// to the relative path. Tsconfig-paths can be used to support path mapping inside of Node.
20-
require("tsconfig-paths").register({
21-
baseUrl: path.dirname(tsconfigPath),
22-
paths: tsconfig.compilerOptions.paths
23-
});
24-
2516
require('./tools/gulp/gulpfile');

0 commit comments

Comments
 (0)