Archived
1
0

Move login JS to a separate file

Mostly so the base URL resolution code can be shared.
This commit is contained in:
Asher
2020-08-04 15:03:11 -05:00
parent de568d446b
commit 751a5ea3ad
4 changed files with 14 additions and 7 deletions

View File

@ -164,7 +164,11 @@ class Watcher {
private createBundler(out = "dist"): Bundler {
return new Bundler(
[path.join(this.rootPath, "src/browser/register.ts"), path.join(this.rootPath, "src/browser/serviceWorker.ts")],
[
path.join(this.rootPath, "src/browser/login.ts"),
path.join(this.rootPath, "src/browser/register.ts"),
path.join(this.rootPath, "src/browser/serviceWorker.ts"),
],
{
outDir: path.join(this.rootPath, out),
cacheDir: path.join(this.rootPath, ".cache"),