mirror of
https://github.com/logos-messaging/js-noise.git
synced 2026-01-02 13:43:08 +00:00
remove libp2p as type root, process ts from node_modules by ts loader
This commit is contained in:
parent
52b67b573f
commit
72bb7a4625
@ -50,7 +50,6 @@ module.exports = function (config) {
|
|||||||
{
|
{
|
||||||
test: /\.(js|tsx?)$/,
|
test: /\.(js|tsx?)$/,
|
||||||
loader: "ts-loader",
|
loader: "ts-loader",
|
||||||
exclude: /node_modules|\.d\.ts$/,
|
|
||||||
options: { configFile: "tsconfig.karma.json" },
|
options: { configFile: "tsconfig.karma.json" },
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|||||||
@ -38,7 +38,7 @@
|
|||||||
// "emitDecoratorMetadata": true /* Enables experimental support for emitting type metadata for decorators. */,
|
// "emitDecoratorMetadata": true /* Enables experimental support for emitting type metadata for decorators. */,
|
||||||
"lib": ["es2020", "dom"],
|
"lib": ["es2020", "dom"],
|
||||||
"types": ["node", "mocha"],
|
"types": ["node", "mocha"],
|
||||||
"typeRoots": ["node_modules/@types", "src/@types", "node_modules/@libp2p"]
|
"typeRoots": ["node_modules/@types", "src/@types"]
|
||||||
},
|
},
|
||||||
"include": ["src"],
|
"include": ["src"],
|
||||||
"exclude": ["src/**/*.spec.ts", "src/test_utils"],
|
"exclude": ["src/**/*.spec.ts", "src/test_utils"],
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user