Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit7a00341

Browse files
committed
build client with esbuild
1 parentc30868a commit7a00341

File tree

16 files changed

+765
-10246
lines changed

16 files changed

+765
-10246
lines changed

‎packages/browser-sync-client/.gitignore‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,4 @@ npm-debug.log
33
test/coverage
44
example.proxy.js
55
/dist/*
6+
/_dist/*

‎packages/browser-sync-client/index.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ var fs = require("fs");
66
varpath=require("path");
77
varzlib=require("zlib");
88

9-
varminifiedScript=path.join(__dirname,"dist","index.min.js");
9+
varminifiedScript=path.join(__dirname,"dist","index.js");
1010
varunminifiedScript=path.join(__dirname,"dist","index.js");
1111

1212
/**

‎packages/browser-sync-client/lib/effects/file-reload.effect.ts‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
import{FileReloadEventPayload}from"../../types/socket";
1+
import{FileReloadEventPayload}from"../types/socket";
22
import{EffectNames}from"../effects";
33
import{Inputs}from"../index";
4-
import{reload}from"../../vendor/Reloader";
4+
import{reload}from"../vendor/Reloader";
55
import{withLatestFrom}from"rxjs/operators/withLatestFrom";
66
import{mergeMap}from"rxjs/operators/mergeMap";
77
import{Observable}from"rxjs/Observable";

‎packages/browser-sync-client/lib/index.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import { SocketEvent, socketHandlers$ } from "./socket-messages";
99
import{merge}from"rxjs/observable/merge";
1010
import{initLogger,logHandler$}from"./log";
1111
import{effectOutputHandlers$}from"./effects";
12-
import{Nanologger}from"../vendor/logger";
12+
import{Nanologger}from"./vendor/logger";
1313
import{scrollRestoreHandlers$,initWindowName}from"./scroll-restore";
1414
import{initListeners}from"./listeners";
1515
import{groupBy}from"rxjs/operators/groupBy";

‎packages/browser-sync-client/lib/log.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import { BehaviorSubject } from "rxjs/BehaviorSubject";
22
import{timer}from"rxjs/observable/timer";
33
import{Observable}from"rxjs/Observable";
44
import{of}from"rxjs/observable/of";
5-
import{Nanologger}from"../vendor/logger";
5+
import{Nanologger}from"./vendor/logger";
66
import{filter}from"rxjs/operators/filter";
77
import{tap}from"rxjs/operators/tap";
88
import{withLatestFrom}from"rxjs/operators/withLatestFrom";

‎packages/browser-sync-client/lib/messages/FileReload.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import { Inputs } from "../index";
22
import{filter}from"rxjs/operators/filter";
33
import{empty}from"rxjs/observable/empty";
44
import{isBlacklisted}from"../utils";
5-
import{FileReloadEventPayload}from"../../types/socket";
5+
import{FileReloadEventPayload}from"../types/socket";
66
import{of}from"rxjs/observable/of";
77
import{Observable}from"rxjs/Observable";
88
import{withLatestFrom}from"rxjs/operators/withLatestFrom";

‎packages/browser-sync-client/types/socket.ts‎renamed to ‎packages/browser-sync-client/lib/types/socket.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import{IncomingSocketNames}from"../lib/socket-messages";
1+
import{IncomingSocketNames}from"../socket-messages";
22

33
exporttypeFileReloadEventPayload={
44
url?:string;

‎packages/browser-sync-client/vendor/Reloader.ts‎renamed to ‎packages/browser-sync-client/lib/vendor/Reloader.ts‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
* :) :) :)
55
*
66
*/
7-
import{getLocation,pathFromUrl,pathsMatch,pickBestMatch,splitUrl,updateSearch,array}from"../lib/utils";
7+
import{getLocation,pathFromUrl,pathsMatch,pickBestMatch,splitUrl,updateSearch,array}from"../utils";
88
import{empty}from"rxjs/observable/empty";
99
import{Observable}from"rxjs/Observable";
1010
import{merge}from"rxjs/observable/merge";
@@ -15,9 +15,9 @@ import {map} from "rxjs/operators/map";
1515
import{mergeMap}from"rxjs/operators/mergeMap";
1616
import{tap}from"rxjs/operators/tap";
1717
import{mapTo}from"rxjs/operators/mapTo";
18-
import{propSet}from"../lib/dom-effects/prop-set.dom-effect";
19-
import{styleSet}from"../lib/dom-effects/style-set.dom-effect";
20-
import{linkReplace}from"../lib/dom-effects/link-replace.dom-effect";
18+
import{propSet}from"../dom-effects/prop-set.dom-effect";
19+
import{styleSet}from"../dom-effects/style-set.dom-effect";
20+
import{linkReplace}from"../dom-effects/link-replace.dom-effect";
2121
import{mergeAll}from"rxjs/operators/mergeAll";
2222

2323
varhiddenElem;

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp