Socket
Socket
Sign inDemoInstall

upload-sftp-webpack-plugin

Package Overview
Dependencies
33
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    upload-sftp-webpack-plugin

上传bundle至服务器


Version published
Weekly downloads
1
decreased by-50%
Maintainers
1
Created
Weekly downloads
 

Readme

Source

打包文件/dist上传至服务器

webpack中配置

new SftpPlugin({

dir: resolve(__dirname, '..', 'dist/'), // 本地打包文件地址

url: '/opt/static/dist/', // 远程服务器工程部署地址

host: '127.0.0.1', // 远程服务器ip

port: '22', // 远程服务器端口

username: 'root', // 远程服务器用户

password: '123456', // 远程服务器用户密码

})

Keywords

FAQs

Last updated on 22 Sep 2022

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc