Node Manager Pm2

PHP

Plesk extension for managing PM2-powered Node.js applications with process control, monitoring, deployment automation, and seamless server integration.

Stars
16
Forks
2
Downloads
N/A
Open Issues
0
Files main

Repository Files

Loading file structure...
frontend/build.cjs
const webpack = require('webpack');
const config = require('./webpack.config.cjs');

webpack(config, (err, stats) => {
    if (err) {
        console.error(err.stack || err.message);
        process.exit(1);
    }

    const info = stats.toJson();
    if (stats.hasErrors()) {
        console.error(info.errors);
        process.exit(1);
    }

    if (stats.hasWarnings()) {
        console.warn(info.warnings);
    }

    console.log('Node Manager (PM2) Plesk UI Library bundle compiled.');
});