%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /home/tradesc/www/relax/wp-content/plugins/complianz-gdpr/settings/
Upload File :
Create Path :
Current File : /home/tradesc/www/relax/wp-content/plugins/complianz-gdpr/settings/webpack.config.js

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

module.exports = {
	...defaultConfig,
	output: {
		...defaultConfig.output,
		filename: '[name].[contenthash].js',
		chunkFilename: '[name].[contenthash].js',
	},
	resolve: {
		...defaultConfig.resolve,
		fallback: {
			"path": require.resolve("path-browserify"),
		},
	},
	module: {
		...defaultConfig.module,
		rules: [
			...defaultConfig.module.rules,
			{
				test: /\.node$/,
				loader: 'node-loader',
			},
		],
	},
};

Zerion Mini Shell 1.0