text: const path = require('path');
  module.exports = {
    entry: './build/index.js',
    devtool: 'source-map',
    mode: 'production',
    output: {
      path: path.resolve('./build/legacy'),
      filename: 'ol.js',
      library: 'ol',
      libraryTarget: 'umd',
      libraryExport: 'default',
    },
  };
  