text: import path from 'path';
  import resolve from 'rollup-plugin-node-resolve';
  import commonjs from 'rollup-plugin-commonjs';
  import builtins from 'rollup-plugin-node-builtins';
  import json from 'rollup-plugin-json';
  import globals from 'rollup-plugin-node-globals';
  
  export default {
      entry: path.join(__dirname, 'index.js'),
      dest: path.join(__dirname, 'docs', 'map-scale.js'),
      format: 'umd',
      plugins: [
          json(),
          resolve(),
          commonjs(),
          globals(),
          builtins()
      ],
      useStrict: false,
      moduleName: 'mapScale'
  };
  