1.2.0 • Published 5 years ago

webpack-ssh-plugin v1.2.0

Weekly downloads
5
License
ISC
Repository
github
Last release
5 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

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.7

5 years ago

1.0.6

5 years ago

1.0.5

5 years ago

1.0.4

5 years ago

1.0.2

5 years ago

1.0.3

5 years ago

1.0.1

5 years ago