update default behaviour
This commit is contained in:
@ -67,7 +67,7 @@ module NpmtsCompile {
|
||||
}
|
||||
})();
|
||||
|
||||
var tsStream = plugins.gulp.src(plugins.path.join(paths.cwd,key))
|
||||
var tsStream = plugins.gulp.src([plugins.path.join(paths.cwd,key),"!**/typings/**"])
|
||||
.pipe(plugins.g.sourcemaps.init()) // This means sourcemaps will be generated
|
||||
.pipe(plugins.g.typescript({
|
||||
out: outputName,
|
||||
|
@ -11,8 +11,8 @@ module NpmtsOptions {
|
||||
"./ts/"
|
||||
];
|
||||
config.ts = {
|
||||
["./ts/index.ts"]: "./index.js",
|
||||
["./ts/test.ts"]: "./test/test.js"
|
||||
["./ts/**/*.ts"]: "./dist/",
|
||||
["./test/test.ts"]: "./test/"
|
||||
};
|
||||
config.test = ["./index.js"];
|
||||
done.resolve(config);
|
||||
|
Reference in New Issue
Block a user