1.2.2 • Published 5 years ago
progress-end-compress-webpack-plugin v1.2.2
progress-end-compress-webpack-plugin
Installation
npm i -D progress-end-compress-webpack-plugin
Usage
const ProgressEndCompressPlugin = require('progress-end-compress-webpack-plugin');
new ProgressEndCompressPlugin({
compressDir: {
paths: [{
sourceDir: path.resolve(__dirname, 'dist'),
targetDir: path.resolve(__dirname),
name: 'dist',
hash: [hash]
}]
},
sshConfig: {
host: '192.168.3.116',
username: 'root',
port: 22,
password: '123456',
romotePath: '/home/reedsec/web/web-api-c2b/web-view/',
replaceDirectly: false, // whether replace build folder
rename: 'dist-new' // whether rename build folder name
}
})
script: {
build: 'webpack webpack.config.js --useSsh'
}
Image Example
building
builded
server side
if set replaceDirectly = true; build folder will be replace directly.
1.2.2
5 years ago
1.2.1
5 years ago
1.2.0
5 years ago
1.1.6
5 years ago
1.1.5
5 years ago
1.1.4
5 years ago
1.1.3
5 years ago
1.1.2
5 years ago
1.1.1
5 years ago
1.1.0
5 years ago
1.0.9
5 years ago
1.0.8
5 years ago
1.0.7
5 years ago
1.0.6
5 years ago
1.0.5
5 years ago
1.0.4
5 years ago
1.0.3
5 years ago
1.0.2
5 years ago
1.0.1
5 years ago
1.0.0
5 years ago