webpack-ftp-upload
webpack plugin for ftp upload
Installation
npm i -D webpack-ftp-upload
or
yarn add --dev webpack-ftp-upload
Usage
add following code to your webpack config file.
const WebpackFtpUpload = 'path'; // path.join(__dirname, '..')
add .ftpcon
"host": "x.x.x.x" "port": "22" "username": "xx" "password": "xxx" "path": "remote path"
Simple example
const WebpackFtpUpload = moduleexports = entry: 'ftp.js' output: path: path filename: 'ftp_bundle.js' plugins: 'path'
License
MIT © etwo