
Research
npm Malware Targets Telegram Bot Developers with Persistent SSH Backdoors
Malicious npm packages posing as Telegram bot libraries install SSH backdoors and exfiltrate data from Linux developer machines.
vue-cli-plugin-multi-compiler
Advanced tools
Vue CLI 3 plugin to add support for webpack multi-compiler mode
vue add multi-compiler
This plugin provides a option (configureMultiCompilerWebpack
) in vue.config.js
to tweak original vue cli webpack config into multiple configs.
You can use either a function
or an array
:
module.exports = {
pluginOptions: {
configureMultiCompilerWebpack: webpackConfig => {
// `webpackConfig` here is the one resolved by vue cli.
// (**after** executing `configureWebpack` and `chainWebpack`)
const cloneDeep = require('lodash.clonedeep')
const mainConfig = cloneDeep(webpackConfig)
const appConfig = cloneDeep(webpackConfig)
mainConfig.entry = {
main: './src/main.js'
}
appConfig.entry = {
app: './src/app.js'
}
// return an array to invoke webpack multi-compiler mode
return [mainConfig, appConfig]
}
}
}
module.exports = {
pluginOptions: {
configureMultiCompilerWebpack: [
// configurations here will be merged with original webpack config
// by `webpack-merge`
{
entry: {
main: './src/main.js'
}
},
{
entry: {
app: './src/app.js'
}
}
]
}
}
FAQs
use vue-cli with webpack multi-compiler mode
We found that vue-cli-plugin-multi-compiler 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.
Research
Malicious npm packages posing as Telegram bot libraries install SSH backdoors and exfiltrate data from Linux developer machines.
Security News
pip, PDM, pip-audit, and the packaging library are already adding support for Python’s new lock file format.
Product
Socket's Go support is now generally available, bringing automatic scanning and deep code analysis to all users with Go projects.