2017-06-28 22:37:33 +03:00
|
|
|
import baseConfig from "./rollup.base.config.js";
|
|
|
|
import resolve from "rollup-plugin-node-resolve";
|
|
|
|
import commonjs from "rollup-plugin-commonjs";
|
|
|
|
import json from "rollup-plugin-json";
|
2017-05-29 07:49:41 +03:00
|
|
|
|
2017-06-08 01:20:48 +03:00
|
|
|
export default Object.assign(baseConfig, {
|
2017-06-28 22:37:33 +03:00
|
|
|
entry: "index.js",
|
|
|
|
dest: "dist/index.js",
|
|
|
|
format: "cjs",
|
2017-06-08 01:20:48 +03:00
|
|
|
plugins: [json(), resolve({ preferBuiltins: true }), commonjs()],
|
2017-06-28 22:37:33 +03:00
|
|
|
external: ["assert"]
|
2017-06-08 01:20:48 +03:00
|
|
|
});
|