Sha256: f31a6f812a5a17cd01f8319404a44f166cbff67f51fa4daa01cac69b6784e9d6

Contents?: true

Size: 535 Bytes

Versions: 2

Compression:

Stored size: 535 Bytes

Contents

var babel = require('rollup-plugin-babel');
var babelrc = require('babelrc-rollup').default;

var pkg = require('./package.json');
var external = Object.keys(pkg.dependencies);

module.exports = {
  entry: 'src/index.js',
  plugins: [
    babel(babelrc())
  ],
  external: external,
  globals: {
    'd3-hierarchy': 'd3',
    'd3-transition': 'd3',
    'd3-ease': 'd3',
    'd3-selection': 'd3',
    'd3-zoom': 'd3',
    'd3-array': 'd3'
  },
  dest: pkg['main'],
  format: 'umd',
  moduleName: 'mapexplorerCore',
  sourceMap: true
};

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
mapexplorer-rails-1.0.0 vendor/assets/mapexplorer-core/rollup.umd.config.js
mapexplorer-rails-1.0.0.pre.alpha.1 vendor/assets/mapexplorer-core/rollup.umd.config.js