mirror of https://github.com/waku-org/js-waku.git
test: tsconfig file for karma with esnext enabled
This commit is contained in:
parent
b984888993
commit
f4da5a8266
|
@ -23,7 +23,10 @@ module.exports = function (config) {
|
|||
rules: [
|
||||
{
|
||||
test: /\.(js|tsx?)$/,
|
||||
use: "ts-loader",
|
||||
use: [{
|
||||
loader: 'ts-loader',
|
||||
options: { configFile: 'tsconfig.karma.json' }
|
||||
}],
|
||||
exclude: /(node_modules)|(node\.spec\.ts)/,
|
||||
},
|
||||
{
|
||||
|
@ -44,6 +47,7 @@ module.exports = function (config) {
|
|||
extensions: [".ts", ".js"],
|
||||
},
|
||||
stats: { warnings: false },
|
||||
devtool: 'inline-source-map'
|
||||
},
|
||||
});
|
||||
};
|
||||
|
|
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"extends": "./tsconfig.dev",
|
||||
"compilerOptions": {
|
||||
"noEmit": false
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue