14 lines
283 B
JavaScript
14 lines
283 B
JavaScript
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'
|
|
}
|
|
};
|