mirror of
https://github.com/logos-messaging/js-noise.git
synced 2026-01-02 05:33:09 +00:00
use import type and add comment to karma build
This commit is contained in:
parent
9a37ea69af
commit
cd6b78088d
@ -37,6 +37,8 @@ module.exports = function (config) {
|
||||
webpack: {
|
||||
mode: "production",
|
||||
optimization: {
|
||||
// minification is disabled due to an issue with missing variable
|
||||
// https://github.com/waku-org/js-noise/pull/18#discussion_r1100712310
|
||||
minimize: false,
|
||||
},
|
||||
resolve: {
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
import { DecodedMessage } from "@waku/core";
|
||||
import { IDecodedMessage, IDecoder, IEncoder, IMessage, IProtoMessage } from "@waku/interfaces";
|
||||
import type { IDecodedMessage, IDecoder, IEncoder, IMessage, IProtoMessage } from "@waku/interfaces";
|
||||
import { WakuMessage } from "@waku/proto";
|
||||
import debug from "debug";
|
||||
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
import { HMACDRBG } from "@stablelib/hmac-drbg";
|
||||
import { randomBytes } from "@stablelib/random";
|
||||
import { IDecoder, IEncoder, IMessage } from "@waku/interfaces";
|
||||
import type { IDecoder, IEncoder, IMessage } from "@waku/interfaces";
|
||||
import { expect } from "chai";
|
||||
import { EventEmitter } from "eventemitter3";
|
||||
import { pEvent } from "p-event";
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
import { HMACDRBG } from "@stablelib/hmac-drbg";
|
||||
import { randomBytes } from "@stablelib/random";
|
||||
import { IDecoder, IEncoder, IMessage } from "@waku/interfaces";
|
||||
import type { IDecoder, IEncoder, IMessage } from "@waku/interfaces";
|
||||
import debug from "debug";
|
||||
import { EventEmitter } from "eventemitter3";
|
||||
import { pEvent } from "p-event";
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user