1.0.2 • Published 5 months ago

auto-upload-file-webpack-plugin v1.0.2

Weekly downloads
-
License
MIT
Repository
github
Last release
5 months ago

Auto Upload File Webpack Plugin

Automatically upload static files to the server.

Installation

Install the plugin with npm:

npm install --save-dev auto-upload-webpack-plugin

Basic Usage

Demo

Add the plugin to your webpack config as follows:

const AutoUploadFileWebpackPlugin = require('auto-upload-file-webpack-plugin')

module.exports = {
 ...
  plugins: [
    new HtmlWebpackPlugin(),
    new AutoUploadFileWebpackPlugin({
      host: "xxxx",
      username: "xxx",
      password: "xxx",
      remotePath: "xxxx"
    })
  ]
}

Options

host

Your server ip.

username

Your remote username.

password

Your remote password.

remotePath

Your remote directory.

End

If you have any questions or issues using this function, please don't hesitate to reach out for support.

1.0.2

5 months ago

1.0.1

5 months ago

1.0.0

5 months ago