auto-upload-file-webpack-plugin

1.0.2 • Public • Published

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.

Readme

Keywords

Package Sidebar

Install

npm i auto-upload-file-webpack-plugin

Weekly Downloads

0

Version

1.0.2

License

MIT

Unpacked Size

5.81 kB

Total Files

7

Last publish

Collaborators

  • codercgx