1.1.1 • Published 3 years ago

webpack-ssh2-sftp-file v1.1.1

Weekly downloads
2
License
MIT
Repository
github
Last release
3 years ago

webpack-ssh2-sftp-file

webpack-ssh-sftp-file2 plugin upload file by ssh2-sftp-clien functions during bundling

Installation

The plugin is available via npm:

$ npm i webpack-ssh2-sftp-file ssh2-sftp-client -D

Examples

You can see an example at demo/webpack.config.js.

var WebpackSsh2SftpFile = require('webpack-ssh2-sftp-file');
module.exports = {
 plugins: [
    // Other plugins.
    new WebpackSsh2SftpFile(
      {
        server: {
          host: '', // 服务器 IP
          port: '', // 22
          username: '',
          password: ''
        },
        localPath: '',
        romotePath: ''
      }
    )
  ]
}
1.1.1

3 years ago

1.1.0

4 years ago

1.0.9

4 years ago

1.0.8

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

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago