Uname: Linux premium294.web-hosting.com 4.18.0-553.45.1.lve.el8.x86_64 #1 SMP Wed Mar 26 12:08:09 UTC 2025 x86_64
Software: LiteSpeed
PHP version: 8.1.32 [ PHP INFO ] PHP os: Linux
Server Ip: 104.21.32.1
Your Ip: 216.73.216.223
User: mjbynoyq (1574) | Group: mjbynoyq (1570)
Safe Mode: OFF
Disable Function:
NONE

name : webpack.config_bundle_gulp.js
/**
 * To bundle gulpfile.js and use it without node_modules
 * =====================================================
 *
 * ATTENTION: Whenever you make changes to any of the gulpfile*.*
 * =========  you must follow the steps below to rebuild the bundled file
 *
 * - Rename package_bundle_gulp.json to package.json
 *
 * > npm install
 * > npm run bundle
 *
 * On Windows Systems:
 * ===================
 *
 * To minify all:
 * > set ENFOLD_MINIFY_TASK=minall&&node minifyEnfold.js
 *
 * To delete all:
 * > set ENFOLD_MINIFY_TASK=delall&&node minifyEnfold.js
 *
 * @since 5.2
 */
const path = require('path');
const nodeExternals = require('webpack-node-externals');

module.exports = {
    entry: path.resolve(__dirname, 'gulpfile.js'),
    output: {
        filename: 'minifyEnfold.js',
        path: path.resolve(__dirname, '../dev')
    },
    target: 'node',
    resolve: {
        fallback: {
            assert: false,
            buffer: false,
            console: false,
            constants: false,
            crypto: false,
            domain: false,
            events: false,
            http: false,
            https: false,
            os: false,
            path: false,
            punycode: false,
            process: false,
            querystring: false,
            stream: false,
            string_decoder: false,
            sys: false,
            timers: false,
            tty: false,
            url: false,
            vm: false,
            zlib: false,
            fs: false
        }
    },
    mode: 'production',
    module: {
        rules: [
            {
                test: /\.m?js$/,
                exclude: /(node_modules|bower_components)/,
                use: {
                    loader: 'babel-loader',
                    options: {
                        presets: ['@babel/preset-env']
                    }
                }
            }
        ]
    }
};
© 2025 XylotrechusZ