2018-09-28 13:43:58 +03:00
|
|
|
import multi from "rollup-plugin-multi-entry";
|
|
|
|
import baseConfig from "./rollup.config";
|
2018-12-07 12:00:51 +03:00
|
|
|
import sourcemaps from "rollup-plugin-sourcemaps";
|
|
|
|
const [browser] = baseConfig;
|
2018-09-26 06:08:03 +03:00
|
|
|
|
2018-12-07 12:00:51 +03:00
|
|
|
browser.input = ["dist-esm/tests/*.js", "dist-esm/tests/browser/*.js"];
|
|
|
|
browser.output.sourcemap = "inline";
|
2018-09-28 13:43:58 +03:00
|
|
|
browser.output.file = "dist-test/index.browser.js";
|
2018-09-26 06:08:03 +03:00
|
|
|
browser.plugins.unshift(multi());
|
2018-12-07 12:00:51 +03:00
|
|
|
browser.plugins.unshift(sourcemaps());
|
2018-09-28 13:43:58 +03:00
|
|
|
browser.context = "null";
|
2018-09-26 06:08:03 +03:00
|
|
|
|
2018-12-07 12:00:51 +03:00
|
|
|
export default [browser];
|