File "webpack.config.js"

Full Path: /home/vantageo/public_html/cache/cache/cache/cache/cache/.wp-cli/wp-content/plugins/wp-phpmyadmin-extension/lib/phpMyAdmin/js/config/ol/webpack.config.js
File size: 443 bytes
MIME-type: text/plain
Charset: utf-8

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',
    },
};