Software: Apache/2.4.41 (Ubuntu). PHP/8.0.30 uname -a: Linux apirnd 5.4.0-204-generic #224-Ubuntu SMP Thu Dec 5 13:38:28 UTC 2024 x86_64 uid=33(www-data) gid=33(www-data) groups=33(www-data) Safe-mode: OFF (not secure) /var/www/html/queuepro/node_modules/@simonwep/pickr/ drwxrwxr-x | |
| Viewing file: Select action/file-type: const MiniCssExtractPlugin = require('mini-css-extract-plugin');
const {version} = require('./package.json');
const webpack = require('webpack');
module.exports = {
entry: {
'dist/pickr.es5.min': './src/js/pickr.js',
'dist/themes/classic.min': './src/scss/themes/classic.scss',
'dist/themes/nano.min': './src/scss/themes/nano.scss',
'dist/themes/monolith.min': './src/scss/themes/monolith.scss'
},
output: {
filename: '[name].js',
library: {
type: 'umd',
name: 'Pickr',
export: 'default',
umdNamedDefine: true
}
},
devServer: {
static: '.',
host: '0.0.0.0',
port: 3006
},
module: {
rules: [
{
test: /\.js$/,
use: 'babel-loader'
},
{
test: /\.scss$/,
use: [
MiniCssExtractPlugin.loader,
'css-loader',
'sass-loader'
]
}
]
},
plugins: [
new MiniCssExtractPlugin({
filename: '[name].css'
}),
new webpack.DefinePlugin({
VERSION: JSON.stringify(version)
})
]
};
|
:: Command execute :: | |
--[ c99shell v. 2.5 [PHP 8 Update] [24.05.2025] | Generation time: 0.0091 ]-- |