Skip to content

Commit

Permalink
Use extension-free imports to be webpack compatible (closes #398)
Browse files Browse the repository at this point in the history
  • Loading branch information
Filipe Costa authored and surma committed Nov 19, 2019
1 parent 9fedcd8 commit ec67bf1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/comlink.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import {
PostMessageWithOrigin,
WireValue,
WireValueType
} from "./protocol.js";
} from "./protocol";
export { Endpoint };

export const proxyMarker = Symbol("Comlink.proxy");
Expand Down
2 changes: 1 addition & 1 deletion src/node-adapter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
* limitations under the License.
*/

import { Endpoint } from "./protocol.js";
import { Endpoint } from "./protocol";

export interface NodeEndpoint {
postMessage(message: any, transfer?: any[]): void;
Expand Down

0 comments on commit ec67bf1

Please sign in to comment.