HEX
Server: Apache
System: Linux WWW 6.1.0-40-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.153-1 (2025-09-20) x86_64
User: web11 (1011)
PHP: 8.2.29
Disabled: NONE
Upload Files
File: //usr/share/phpmyadmin/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',
    },
    resolve: {
        modules: [path.resolve('./debian/missing-sources'), 'node_modules']
    }
};