0.0.34 • Published 4 years ago

webpack-remove-files-after-upload v0.0.34

Weekly downloads
-
License
MIT
Repository
github
Last release
4 years ago
const RemoveFilesAfterUpload = require('webpack-remove-files-after-upload');

module.exports = {
 plugins: [
  new RemoveFilesAfterUpload({
    localPath: 'dist', // local directory
    host: 'path.to.host',          
    port: '22', // default 22
    username: 'username',
    password: '########',
    remotePath: '/var/html/www', // target directory
    filesToDelete: '.html5, .js, .png' // if empty, no files will be deleted
  })
 ]
};
0.0.34

4 years ago

0.0.33

5 years ago

0.0.32

5 years ago

0.0.31

5 years ago

0.0.3

5 years ago

0.0.2

5 years ago

0.0.1

5 years ago