Welcome To Our Shell

Mister Spy & Souheyl Bypass Shell

Current Path : /var/www/html/strat/web/modules/contrib/ckeditor5_plugin_pack/

Linux ift1.ift-informatik.de 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64
Upload File :
Current File : /var/www/html/strat/web/modules/contrib/ckeditor5_plugin_pack/webpack.config.mjs

/*
 * Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
 * For licensing, see https://ckeditor.com/legal/ckeditor-oss-license
 */

import path from 'path';
import glob from 'glob';
import webpack from 'webpack';
import { styles, builds } from '@ckeditor/ckeditor5-dev-utils';
import TerserPlugin from 'terser-webpack-plugin';
import manifest from './node_modules/ckeditor5/build/ckeditor5-dll.manifest.json' assert { type: 'json' };

const entries = glob.sync('./{modules/*/js,js}/ckeditor5_plugins/**/*.js').reduce((entries, entry) => {
  const entryName = path.parse(entry).name;
  if (entryName !== 'index') {
    entries[entryName] = entry.replace(entryName + '/src/' + entryName + '.js', '');
  }
  return entries;
}, {});

const configs = [];
Object.entries(entries).forEach((mapping) => {
  const name = mapping[0];
  const dir = mapping[1];

  const bc = {
    mode: 'production',
    optimization: {
      minimize: true,
      minimizer: [
        new TerserPlugin({
          terserOptions: {
            output: {
              comments: /^!/
            }
          },
          test: /\.js(\?.*)?$/i,
          extractComments: false,
        }),
      ],
      moduleIds: 'named',
    },
    entry: {
      path: dir + `${name}/src/index.js`,
    },
    output: {
      path: path.resolve(dir, '../build'),
      filename: `${name}.js`,
      library: ['CKEditor5', name],
      libraryTarget: 'umd',
      libraryExport: 'default',
    },
    plugins: [
      new webpack.BannerPlugin("Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.\nFor licensing, see https://ckeditor.com/legal/ckeditor-oss-license"),
      new webpack.DllReferencePlugin({
        manifest: manifest,
        scope: 'ckeditor5/src',
        name: 'CKEditor5.dll',
      }),
    ],
    module: {
      rules: [
        { test: /\.svg$/, use: 'raw-loader' },
        { test: /\.css$/, use: ['style-loader', 'css-loader'] }
      ],
    },
  };

  configs.push(bc);
});

export default configs;

bypass 1.0, Devloped By El Moujahidin (the source has been moved and devloped)
Email: contact@elmoujehidin.net bypass 1.0, Devloped By El Moujahidin (the source has been moved and devloped) Email: contact@elmoujehidin.net