2018-11-08 16:45:01 +03:00
|
|
|
import multi from "rollup-plugin-multi-entry";
|
|
|
|
import baseConfig from "./rollup.config";
|
2019-01-02 11:18:21 +03:00
|
|
|
import sourcemaps from "rollup-plugin-sourcemaps";
|
|
|
|
const [browser] = baseConfig;
|
2018-11-22 06:30:01 +03:00
|
|
|
|
2019-01-02 11:18:21 +03:00
|
|
|
browser.input = ["dist-esm/tests/*.js", "dist-esm/tests/browser/*.js"];
|
|
|
|
browser.output.sourcemap = "inline";
|
2018-11-08 16:45:01 +03:00
|
|
|
browser.output.file = "dist-test/index.browser.js";
|
|
|
|
browser.plugins.unshift(multi());
|
2019-01-02 11:18:21 +03:00
|
|
|
browser.plugins.unshift(sourcemaps());
|
2018-11-08 16:45:01 +03:00
|
|
|
browser.context = "null";
|
|
|
|
|
2019-01-02 11:18:21 +03:00
|
|
|
export default [browser];
|