Uname : Linux premium36.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64
Soft : LiteSpeed
Ip : 198.54.115.237
Port : 443
~
/
opt
/
cpanel
/
ea-ruby27
/
src
/
passenger-release-6.1.0
/
resources
/
templates
/
error_renderer
/
with_details
[ HOME ]
Exec
Submit
webpack.config.js
const webpack = require('webpack'); const path = require('path'); const MiniCssExtractPlugin = require('mini-css-extract-plugin'); const UglifyJSPlugin = require('terser-webpack-plugin'); const CssMinimizerPlugin = require("css-minimizer-webpack-plugin"); module.exports = { entry: ['./src/index.jsx'], output: { path: path.resolve(__dirname, 'dist'), filename: 'bundle.js' }, module: { rules: [ { test: /\.(js|jsx)$/, use: { loader: 'babel-loader', options: { presets: ['@babel/preset-env', '@babel/preset-react'] } } }, { test: /\.css$/, use: [MiniCssExtractPlugin.loader, "css-loader"] }, ] }, plugins: [ new MiniCssExtractPlugin({filename:'styles.css'}), new UglifyJSPlugin(), new webpack.ProvidePlugin({ $: 'jquery', jQuery: 'jquery' }) ], optimization: { minimizer: [ `...`, new CssMinimizerPlugin(), ], } };
Submit
Back
Folder Name
Submit
File Name
File Content
Submit
Name
Type
Size
Permission
Last Modified
Actions
.
dir
-
0755
2025-12-17 06:00:31
..
dir
-
0755
2025-12-17 06:00:31
dist
dir
-
0755
2025-12-17 06:00:31
src
dir
-
0755
2025-12-17 06:00:31
README.md
text/plain
284 B
0644
2025-09-16 04:56:08
webpack.config.js
text/plain
1004 B
0644
2025-09-16 04:56:08