HEX
Server: nginx/1.18.0
System: Linux vps-9dcdb12e 5.15.0-176-generic #186-Ubuntu SMP Fri Mar 13 11:01:42 UTC 2026 x86_64
User: ubuntu (1000)
PHP: 8.1.2-1ubuntu2.24
Disabled: exec,passthru,shell_exec,system,proc_open,popen,curl_exec,curl_multi_exec,parse_ini_file,show_source
Upload Files
File: /var/www/goautomatic.pl/wp-content/plugins/latepoint/_webpack.config.js
const path = require('path');
var webpack = require('webpack');

module.exports = {
	mode: 'none',
  entry: {
		'block-book-button': {
			'import': './blocks/src/book-button/index.js',
			'filename': '../blocks/build/book-button/[name].js'
		},
  	'sprintf' : './node_modules/sprintf-js/dist/sprintf.min.js',
		'dragula' : './node_modules/dragula/dist/dragula.min.js',
		'Chart' : './node_modules/chart.js/dist/Chart.min.js',
		'moment' : './node_modules/moment/min/moment-with-locales.min.js',
		'jquery.inputmask' : './node_modules/inputmask/dist/jquery.inputmask.min.js',
		'daterangepicker' : './node_modules/daterangepicker/daterangepicker.js',
		'pickr' : './node_modules/pickr-widget/dist/pickr.min.js'
  },
  output: {
    filename: '[name].min.js',
    path: path.resolve(__dirname, 'public', 'javascripts', 'vendor'),
  },
	plugins: [
	new webpack.ProvidePlugin({
	      moment: "moment"
	    })
	]
};