
Security News
Deno 2.2 Improves Dependency Management and Expands Node.js Compatibility
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
faster-webpack-upload-plugin
Advanced tools
Upload your files to ftp server easier and faster,add support to 'webpack --watch'
Upload your files to ftp server easier and faster,add support to 'webpack --watch'
npm i -D faster-webpack-upload-plugin
add following code to your webpack config file.
const FasterUploadPlugin = require('faster-webpack-upload-plugin');
var webpackConfig = {
entry: 'index.js',
output: {
path: 'assets',
filename: 'index_bundle.js'
},
plugins: [
new FasterUploadPlugin({
// config options, you can find options detail down here
})
]
}
Option Name | Usage | Type | Default Value |
---|---|---|---|
host | Server's IP address | String | (none) |
port | Number of ssh port | String | "22" |
username | Username for authentication | String | (none) |
Deprecated,don't need it anymore | |||
remotePath | Folder path on server | String | (none) |
log | Show log when is uploading | Boolean | {info: Boolean, progress: Boolean, warning: Boolean, error: Boolean} | false |
clearFolder | Clear remote path files for the first time | Boolean | false |
fileIgnores | Files didn't upload(matching file name with file path) | Array<RegExp> | (none) |
for other options you can see https://github.com/mscdex/ssh2#client-methods
- change: remove the code of scanning local directory, so remove the option "localPath"
- fix: when webpack watching mode add new folder, the plugin can auto retry and make it right
This project is licensed under MIT.
FAQs
Upload your files to ftp server easier and faster,add support to 'webpack --watch'
The npm package faster-webpack-upload-plugin receives a total of 143 weekly downloads. As such, faster-webpack-upload-plugin popularity was classified as not popular.
We found that faster-webpack-upload-plugin demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
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.
Security News
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
Security News
React's CRA deprecation announcement sparked community criticism over framework recommendations, leading to quick updates acknowledging build tools like Vite as valid alternatives.
Security News
Ransomware payment rates hit an all-time low in 2024 as law enforcement crackdowns, stronger defenses, and shifting policies make attacks riskier and less profitable.