Current File : //proc/thread-self/root/proc/self/root/home/tradevaly/www/phpmy/js/config/ol/webpack.config.js
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',
    },
};