Sh3ll
OdayForums


Server : LiteSpeed
System : Linux premium84.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
User : claqxcrl ( 523)
PHP Version : 8.1.32
Disable Function : NONE
Directory :  /home/claqxcrl/marketiza-angola.com/wp-content/themes/the-conference/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /home/claqxcrl/marketiza-angola.com/wp-content/themes/the-conference/webpack.config.js
const path = require( 'path' );

const defaultConfig = require( '@wordpress/scripts/config/webpack.config' );

// Import the helper to find and generate the entry points in the src directory
const { getWebpackEntryPoints } = require( '@wordpress/scripts/utils/config' );

// CSS minimizer
const CssMinimizerPlugin = require( 'css-minimizer-webpack-plugin' );

// Add any a new entry point by extending the webpack config.
module.exports = {
	...defaultConfig,
	mode: 'development',
	devtool: 'inline-source-map',
	entry: {
		...getWebpackEntryPoints(),
		dashboard: './src/index.js',
	},
	output: {
		path: path.resolve( __dirname, 'build' ),
	},
	optimization: {
		minimizer: [
			...defaultConfig.optimization.minimizer,
			new CssMinimizerPlugin(),
		],
	},
};

ZeroDay Forums Mini