gl-website-deployer/admin/phpMyAdmin/js/config/ol/webpack.config.js

20 lines
443 B
JavaScript
Raw Normal View History

2024-11-23 20:45:29 +01:00
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',
},
};