Initial commit
This commit is contained in:
14
node_modules/d3-time-format/rollup.config.js
generated
vendored
Normal file
14
node_modules/d3-time-format/rollup.config.js
generated
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
const definition = require("./package.json");
|
||||
const dependencies = Object.keys(definition.dependencies);
|
||||
|
||||
export default {
|
||||
input: "index",
|
||||
external: dependencies,
|
||||
output: {
|
||||
extend: true,
|
||||
file: `build/${definition.name}.js`,
|
||||
format: "umd",
|
||||
globals: dependencies.reduce((p, v) => (p[v] = "d3", p), {}),
|
||||
name: "d3"
|
||||
}
|
||||
};
|
||||
Reference in New Issue
Block a user