SILENT KILLERPanel

Current Path: > home > codekrsu > > ameliagraphics.com > wp-content > themes > oceanwp


Operation   : Linux premium131.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
Software     : Apache
Server IP    : 162.0.232.56 | Your IP: 216.73.216.111
Domains      : 1034 Domain(s)
Permission   : [ 0755 ]

Files and Folders in: /home/codekrsu//ameliagraphics.com/wp-content/themes/oceanwp

NameTypeSizeLast ModifiedActions
assets Directory - -
inc Directory - -
languages Directory - -
partials Directory - -
sass Directory - -
templates Directory - -
tribe-events Directory - -
woocommerce Directory - -
404.php File 4672 bytes May 23 2023 11:21:48.
500.php File 211 bytes September 06 2023 12:38:32.
README.md File 1875 bytes July 17 2025 16:12:04.
babel.config.js File 42 bytes September 06 2023 12:38:32.
changelog.md File 3616 bytes July 17 2025 16:12:04.
comments.php File 5225 bytes April 05 2023 12:12:28.
footer-pwa.php File 166 bytes September 06 2023 12:38:32.
footer.php File 1711 bytes August 09 2022 11:52:52.
functions.php File 37725 bytes May 14 2025 14:43:02.
header-pwa.php File 437 bytes September 06 2023 12:38:32.
header.php File 1033 bytes April 05 2023 12:12:28.
image.php File 1416 bytes September 06 2023 12:38:32.
index.php File 3130 bytes September 06 2023 12:38:32.
offline.php File 210 bytes September 06 2023 12:38:32.
page.php File 1291 bytes September 06 2023 12:38:32.
readme.txt File 6548 bytes July 17 2025 16:12:04.
rtl.css File 17737 bytes April 05 2023 12:12:28.
screenshot.png File 84869 bytes June 09 2021 11:27:58.
search.php File 1555 bytes October 16 2024 13:50:30.
searchform.php File 1079 bytes April 05 2023 12:12:28.
sidebar-left.php File 737 bytes September 06 2023 12:38:32.
sidebar.php File 872 bytes September 06 2023 12:38:32.
singular.php File 1685 bytes September 06 2023 12:38:32.
style.css File 2144 bytes July 17 2025 16:12:04.
webpack.config.js File 2204 bytes September 06 2023 12:38:32.
wpml-config.xml File 2589 bytes March 08 2021 12:42:38.

Reading File: /home/codekrsu//ameliagraphics.com/wp-content/themes/oceanwp/webpack.config.js

const path = require('path');
const MiniCssExtractPlugin = require('mini-css-extract-plugin');
// const CopyPlugin = require("copy-webpack-plugin");
const ImageminPlugin = require('imagemin-webpack-plugin').default;
const TerserPlugin = require('terser-webpack-plugin');

module.exports = {
	mode: 'production',
	// optimization: {
	// 	minimize: true,
	// 	minimizer: [new TerserPlugin({ /* additional options here */ })],
	// },
	entry: {
		'inc/customizer/assets/js/customize-search': path.resolve(
			process.cwd(),
			'inc/customizer/assets/src/js/customize-search.js'
		),
	},
	output: {
		filename: '[name].js',
		path: path.resolve(process.cwd()),
		publicPath: './',
	},
	module: {
		rules: [
			{
				test: /\.js$/,
				exclude: /node_modules/,
				use: {
					loader: 'babel-loader',
				},
			},
			{
				test: /\.(jp?g|png|svg)$/,
				loader: 'url-loader',

		   },
		   {
			test: /\.(woff(2)?|ttf|eot|svg)(\?v=\d+\.\d+\.\d+)?$/,
			use: [
			  {
				loader: 'file-loader',
				options: {
				  name: '[name].[ext]',
				  outputPath: './assets/dist/fonts/',
				  publicPath: './fonts/',
				}
			  }
			]
		  },
		  {
				test: /\.s[ac]ss$/i,
				use: [{
						loader: MiniCssExtractPlugin.loader
					},
					{
						loader: 'css-loader'
					},
					{
						loader: 'sass-loader',
						options: {
							additionalData: "@import 'node_modules/bootstrap/scss/functions';@import 'node_modules/bootstrap/scss/variables';@import 'node_modules/bootstrap/scss/mixins';"
						}
					},
				],
			},
			{
				test: /\.css$/,
				use: ['style-loader', 'css-loader'],
			},
		],
	},
	resolve: {
		extensions: ['.js', '.jsx'],
	},
	externals: {
		jquery: 'jQuery',
		lodash: 'lodash', // Necessary for wp.media script.
		'@wordpress/i18n': 'wp.i18n',
	},
	plugins: [
		new MiniCssExtractPlugin({
			// Options similar to the same options in webpackOptions.output
			// both options are optional
			filename: '[name].css',
			chunkFilename: '[id].css',
		}),
		// new CopyPlugin({
		// 	patterns: [ {
		// 		from: "./assets/src/img",
		// 		to: "./assets/dist/img",
		// 	} ],
		// }),
		new ImageminPlugin({
			test: /\.(jpe?g|png|gif|svg)$/i,
			pngquant: {
				quality: '9'
			},
		})

	],
};

SILENT KILLER Tool