jose/webpack.config.js
Filip Skokan 357fe0b964 feat: Revised API, No dependencies, Browser Support, Promises
BREAKING CHANGE: Revised, Promise-based API
BREAKING CHANGE: No dependencies
BREAKING CHANGE: Browser support (using [Web Cryptography API](https://www.w3.org/TR/WebCryptoAPI/))
BREAKING CHANGE: Support for verification using a remote JWKS endpoint
BREAKING CHANGE: Experimental Node.js libuv thread pool based runtime (non-blocking 🎉)
2020-11-14 18:26:46 +01:00

14 lines
336 B
JavaScript

const path = require("path");
const { sync: glob } = require("glob");
module.exports = {
entry: glob("test-browser/*.js").reduce((acc, x) => {
acc[x.slice(13, -3)] = `./${x}`;
return acc;
}, {}),
mode: "development",
output: {
filename: "[name].js",
path: path.resolve(__dirname, "dist-browser-tests"),
},
};