mirror of
https://github.com/cosmos/cosmjs.git
synced 2025-03-10 21:49:15 +00:00
29 lines
590 B
JavaScript
29 lines
590 B
JavaScript
/* eslint-disable @typescript-eslint/naming-convention */
|
|
const glob = require("glob");
|
|
const path = require("path");
|
|
|
|
const target = "web";
|
|
const distdir = path.join(__dirname, "dist", "web");
|
|
|
|
module.exports = [
|
|
{
|
|
// bundle used for Karma tests
|
|
target: target,
|
|
entry: glob.sync("./build/**/*.spec.js"),
|
|
output: {
|
|
path: distdir,
|
|
filename: "tests.js",
|
|
},
|
|
resolve: {
|
|
fallback: {
|
|
buffer: false,
|
|
crypto: false,
|
|
events: false,
|
|
path: false,
|
|
stream: false,
|
|
string_decoder: false,
|
|
},
|
|
},
|
|
},
|
|
];
|