
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
webpack-ftp-plugin2
Advanced tools
该插件基于原创修改以满足开发需求,https://github.com/CharlieLau/webpack-ftp-plugin

$ npm i webpack-ftp-plugin2
或是
$ yarn add --dev webpack-ftp-plugin2
var WebpackFtpPlugin = require('webpack-ftp-plugin2')
var webpackConfig = {
entry: 'index.js',
output: {
path: 'dist',
filename: 'index_bundle.js'
},
plugins: [new WebpackFtpPlugin({
ftp: {
"authKey": {
"username": "xx", // 用户名
"password": "xxx" // 密码
},
"host": "x.x.x.x", // ip
"port": "21" // 端口
},
remoteRoot: '/', // 远程ftp路径
localRoot: __dirname, // 本地路径根目录
deployPath: './build' // 基于本地路径根目录的相对路径
})]
}
process.env.NODE_ENV === 'production':
new webpack.DefinePlugin({
'process.env.NODE_ENV': JSON.stringify('production')
})
FAQs
webpack ft deploy plugin
The npm package webpack-ftp-plugin2 receives a total of 2 weekly downloads. As such, webpack-ftp-plugin2 popularity was classified as not popular.
We found that webpack-ftp-plugin2 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
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.