
Research
Malicious npm Packages Impersonate Flashbots SDKs, Targeting Ethereum Wallet Credentials
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
webpack-externals-plugin
Advanced tools
Provides more powerful externals configuration options.
new ExternalsPlugin({ type, test, include, exclude }), where:
type represents the type of external (/var|this|commonjs2?|amd|umd/). Defaults to options.output.libraryTarget.test, include, exclude work as they do with loader configuration.The following webpack configuration considers all modules under the local node_modules/ directory as externals.
webpack.config.js:
var ExternalsPlugin = require('webpack-externals-plugin');
module.exports = {
entry: './app.js',
output: {
path: __dirname + '/dist',
filename: 'bundle.js',
},
plugins: [
new ExternalsPlugin({
type: 'commonjs',
include: __dirname + '/node_modules',
}),
],
};
options.externalsWebpack externals are only filtered depending on the user request (require('webpack') => webpack).
With this plugin, externals are filtered depending on the path of the resolved module (require('webpack') => <dir_path>/node_modules/webpack/lib/webpack.js).
This lets you include or exclude entire directories depending on the actual path of the resolved module.
FAQs
Provides more powerful externals configuration options
The npm package webpack-externals-plugin receives a total of 328 weekly downloads. As such, webpack-externals-plugin popularity was classified as not popular.
We found that webpack-externals-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.

Research
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.

Security News
Ruby maintainers from Bundler and rbenv teams are building rv to bring Python uv's speed and unified tooling approach to Ruby development.

Security News
Following last week’s supply chain attack, Nx published findings on the GitHub Actions exploit and moved npm publishing to Trusted Publishers.