UNPKG

601 BJavaScriptView Raw
1import resolve from "rollup-plugin-node-resolve";
2import copy from 'rollup-plugin-copy';
3
4export default {
5 input: "index",
6 plugins: [
7 resolve({}),
8 copy({
9 targets: [{
10 src: "css/font/popoto/*", dest: "dist/font/popoto/"
11 }, {
12 src: "css/font-icon-list.html", dest: "dist/"
13 }]
14 })
15 ],
16 external: ["d3"],
17 output: {
18 extend: true,
19 file: "dist/popoto.js",
20 format: "umd",
21 indent: false,
22 name: "popoto",
23 globals: {
24 d3: "d3",
25 }
26 }
27};
\No newline at end of file