scottohara/loot

View on GitHub
webpack.coverage.js

Summary

Maintainability
A
0 mins
Test Coverage
const config = require("./webpack.test");

// Add instrumentation to *.ts and *.js files
config.module.rules.push({
    test: /\.(?:t|j)s$/u,
    loader: "@jsdevtools/coverage-istanbul-loader",
    options: {
        esModules: true,
    },
    exclude: /node_modules/u,
    enforce: "post",
});

module.exports = config;