1.2.3 • Published 4 years ago

webpack-ssh-deploy v1.2.3

Weekly downloads
1
License
MIT
Repository
github
Last release
4 years ago

webpack-ssh-deploy

a webpack ssh deploy plugin

Usage

deploy-config.js

module.exports = [
  {
    name: "",
    ssh: {
      host: "",
      port: ,
      username: "",
      password: ""
    },
    targetDir: "./dist",
    targetFile: "dist.zip",
    openCompress: true,
    openBackUp: false,
    deployDir: "",  // 发布路径
    releaseDir: "web"
  }
]

wepack.config.js

const WebpackSshDeploy = require("webpack-ssh-deploy").default

module.exports = {
  ...
  plugins: [new WebpackSshDeploy(require("./deploy-config")), ...]
}
1.2.3

4 years ago

1.2.2

4 years ago

1.2.1

4 years ago

1.2.0

4 years ago

1.1.0

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

1.0.0

4 years ago