1.2.0 • Published 4 years ago

webpack-ssh-plugin v1.2.0

Weekly downloads
5
License
ISC
Repository
github
Last release
4 years ago

webpack build done, you want to upload files.

  • new you can use this plugin. it help upload local files to remote.

Install

npm install webpack-ssh-upload --save-dev

or

yarn add webpack-ssh-upload --save-dev

Usage

const WebpackSShUpload = require('webpack-ssh-upload');

...
new SSHPlugin({
	remotePath: '', //remote dir
	user:{
		host:'',
		port:'',
		username:'',
		password:''
	},
	test: /\.js$/, //Reg if you do not set this option,default upload all files
	localDir: '' //local file or dir, default webpack output.path
})
...

tips

if you need, you can new this plugin one more. so you can deal diff dirs, upload to remote diff dirs.

1.2.0

4 years ago

1.1.5

4 years ago

1.1.4

4 years ago

1.1.3

4 years ago

1.1.2

4 years ago

1.1.1

4 years ago

1.1.0

4 years ago

1.0.7

4 years ago

1.0.6

4 years ago

1.0.5

4 years ago

1.0.4

4 years ago

1.0.2

4 years ago

1.0.3

4 years ago

1.0.1

4 years ago