Software: Apache. PHP/8.1.30 uname -a: Linux server1.tuhinhossain.com 5.15.0-163-generic #173-Ubuntu SMP Tue Oct 14 17:51:00 UTC uid=1002(picotech) gid=1003(picotech) groups=1003(picotech),0(root) Safe-mode: OFF (not secure) /home/picotech/.nvm/versions/node/v18.17.1/lib/node_modules/pm2/node_modules/fast-json-patch/ drwxr-xr-x | |
| Viewing file: Select action/file-type: var webpack = require('webpack');
const package = require('./package.json');
const path = require('path');
module.exports = env => {
if(env && env.NODE_ENV === "test") {
return [
{
entry: './test/spec/webpack/importSpec.src.js',
mode: 'production',
output: {
path: path.resolve(__dirname, 'test/spec/webpack'),
filename: 'importSpec.build.js'
},
target: 'node',
resolve: {
extensions: ['.js']
}
}
];
}
else {
return [
{
entry: './index.js',
mode: 'production',
optimization: {
minimize: false
},
output: {
filename: 'fast-json-patch.js',
library: 'jsonpatch',
libraryTarget: 'var'
},
resolve: {
extensions: ['.js']
},
plugins: [
new webpack.BannerPlugin('fast-json-patch, version: ' + package['version'])
]
},
{
entry: './index.js',
mode: 'production',
output: {
filename: 'fast-json-patch.min.js',
library: 'jsonpatch',
libraryTarget: 'var'
},
resolve: {
extensions: ['.js']
},
plugins: [
new webpack.BannerPlugin('fast-json-patch, version: ' + package['version'])
]
}
];
}
};
|
:: Command execute :: | |
--[ c99shell v. 2.5 [PHP 8 Update] [24.05.2025] | Generation time: 0.0033 ]-- |