azure-storage-js/file/rollup.test.config.js

19 строки
541 B
JavaScript

import multi from "rollup-plugin-multi-entry";
import baseConfig from "./rollup.config";
const [node, browser] = baseConfig;
node.input = ["dist-esm/test/*.js", "dist-esm/test/node/*.js"];
node.output.file = "dist-test/index.js";
node.plugins.unshift(multi());
node.external.push("assert", "path");
node.context = "null";
browser.input = ["dist-esm/test/*.js", "dist-esm/test/browser/*.js"];
browser.output.file = "dist-test/index.browser.js";
browser.plugins.unshift(multi());
browser.context = "null";
export default [node, browser];