Archived
1
0

Move vscode JS to a separate file

Mostly to match everything else.
This commit is contained in:
Asher
2020-08-04 15:03:22 -05:00
parent 751a5ea3ad
commit d6d24966be
4 changed files with 59 additions and 51 deletions

View File

@ -21,9 +21,10 @@ main() {
--public-url "." \
--out-dir dist \
$([[ $MINIFY ]] || echo --no-minify) \
src/browser/login.ts \
src/browser/register.ts \
src/browser/serviceWorker.ts
src/browser/serviceWorker.ts \
src/browser/pages/login.ts \
src/browser/pages/vscode.ts
}
main "$@"

View File

@ -165,9 +165,10 @@ class Watcher {
private createBundler(out = "dist"): Bundler {
return new Bundler(
[
path.join(this.rootPath, "src/browser/login.ts"),
path.join(this.rootPath, "src/browser/register.ts"),
path.join(this.rootPath, "src/browser/serviceWorker.ts"),
path.join(this.rootPath, "src/browser/pages/login.ts"),
path.join(this.rootPath, "src/browser/pages/vscode.ts"),
],
{
outDir: path.join(this.rootPath, out),