MCPcopy Create free account
hub / github.com/d3/d3-shape / config

Function config

rollup.config.js:21–39  ·  view source on GitHub ↗
(options)

Source from the content-addressed store, hash-verified

19});
20
21function config(options) {
22 return {
23 ...options,
24 input: "src/index.js",
25 external: Object.keys(meta.dependencies || {}).filter(key => /^d3-/.test(key)),
26 output: {
27 ...options.output,
28 name: "d3",
29 indent: false,
30 extend: true,
31 banner,
32 globals: Object.assign({}, ...Object.keys(meta.dependencies || {}).filter(key => /^d3-/.test(key)).map(key => ({[key]: "d3"})))
33 },
34 plugins: [
35 RollupNode(),
36 ...(options.plugins ?? [])
37 ]
38 };
39}
40
41export default [
42 config({

Callers 1

rollup.config.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected