403Webshell
Server IP : 164.138.27.172  /  Your IP : 216.73.216.143
Web Server : nginx/1.27.4
System : Linux cookingdream 6.8.0-124-generic #124-Ubuntu SMP PREEMPT_DYNAMIC Tue May 26 13:00:45 UTC 2026 x86_64
User : www-adm ( 1001)
PHP Version : 8.3.32
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : OFF
Directory :  /home/jonasn/dev/internetstiftelsen.se/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/jonasn/dev/internetstiftelsen.se/webpack.mix.js
const mix = require('laravel-mix');
const config = require('./webpack.config');

Mix.listen('configReady', function(config) {
	config.module.rules.forEach((rule, i) => {
		if (
			('loader' in rule && rule.loader === 'html-loader')
			|| ('loaders' in rule && rule.loaders.indexOf('html-loader') >= 0)
		) {
			config.module.rules.splice(i, 1);
		}
	});

	config.module.rules.push({
		test: /\.html$/i,
		loader: 'html-loader',
		options: {
			esModule: true,
			minimize: true,
			interpolate: true,
		},
	});
});

mix.options({
	terser: {
		terserOptions: {
			compress: {
				drop_console: true,
				dead_code: true,
				pure_funcs: ['console.warn', 'iis_debug'],
			},
		},
	},
});

mix.webpackConfig(config);

mix
	.js('./assets/js/site.js', './www/app/themes/internetstiftelsen/assets/js/site.js')
	.js('./assets/js/blocks.js', './www/app/themes/internetstiftelsen/assets/js/blocks.js')
	.sass('./assets/scss/site.scss', './www/app/themes/internetstiftelsen/assets/css', {
		sassOptions: {
			includePaths: ['node_modules'],
		},
	})
	// .browserSync('iis.test')
	.version()
	.setPublicPath('./www/app/themes/internetstiftelsen/')
	.sourceMaps(true, 'source-map');

Youez - 2016 - github.com/yon3zu
LinuXploit