You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
443 B
20 lines
443 B
2 years ago
|
const path = require('path');
|
||
|
|
||
|
module.exports = {
|
||
|
entry: './js/src/ol.mjs',
|
||
|
devtool: 'source-map',
|
||
|
mode: 'production',
|
||
|
performance: {
|
||
|
hints: false,
|
||
|
maxEntrypointSize: 512000,
|
||
|
maxAssetSize: 512000
|
||
|
},
|
||
|
output: {
|
||
|
path: path.resolve('./js/vendor/openlayers'),
|
||
|
filename: 'OpenLayers.js',
|
||
|
library: 'ol',
|
||
|
libraryTarget: 'umd',
|
||
|
libraryExport: 'default',
|
||
|
},
|
||
|
};
|