Skip to content

Commit 0675568

Browse files
devversionmmalerba
authored andcommitted
build: publish build tools on github (angular#5458)
* Publishes the material2-build-tools on Github.
1 parent 4562407 commit 0675568

File tree

8 files changed

+137
-189
lines changed

8 files changed

+137
-189
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');

package-lock.json

Lines changed: 8 additions & 163 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)