-
Notifications
You must be signed in to change notification settings - Fork 39
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Melody Universe
authored and
melody-universe
committed
Apr 20, 2021
1 parent
53eeea1
commit 187d9e5
Showing
14 changed files
with
1,939 additions
and
82 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -52,8 +52,7 @@ | |
"addressable": true | ||
}, | ||
{ | ||
"path": "package", | ||
"addressable": true | ||
"path": "tasks" | ||
} | ||
] | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,12 @@ | ||
const ts = require("gulp-typescript"); | ||
const gulp = require("gulp"); | ||
const sourcemaps = require("gulp-sourcemaps"); | ||
const webpackStream = require("webpack-stream"); | ||
|
||
module.exports = function compile() { | ||
const tsProj = ts.createProject("tsconfig.json"); | ||
const config = require("../webpack.config"); | ||
return gulp | ||
.src("src/**/*.ts") | ||
.pipe(sourcemaps.init()) | ||
.pipe(tsProj()) | ||
.pipe(sourcemaps.write("./", { sourceRoot: "./", includeContent: false })) | ||
.pipe(gulp.dest("dist")); | ||
.src("src/tasks/whoami/whoami-v0/index.ts") | ||
.pipe(webpackStream(config)) | ||
.pipe(gulp.dest("dist/")); | ||
}; |
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
Oops, something went wrong.