mirror of
https://github.com/logos-messaging/js-noise.git
synced 2026-01-04 14:43:11 +00:00
use rollup config
This commit is contained in:
parent
e7c1d3af35
commit
289c59b896
@ -2,7 +2,8 @@ process.env.CHROME_BIN = require("puppeteer").executablePath();
|
||||
|
||||
const os = require("os");
|
||||
const path = require("path");
|
||||
const ResolveTypeScriptPlugin = require("resolve-typescript-plugin");
|
||||
|
||||
const rollupConfig = require("./rollup.config");
|
||||
|
||||
const output = {
|
||||
path: path.join(os.tmpdir(), "_karma_webpack_") + Math.floor(Math.random() * 1000000),
|
||||
@ -34,5 +35,6 @@ module.exports = function (config) {
|
||||
timeout: 6000, // Default is 2s
|
||||
},
|
||||
},
|
||||
rollupPreprocessor: { ...rollupConfig },
|
||||
});
|
||||
};
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user