
Research
Two Malicious Rust Crates Impersonate Popular Logger to Steal Wallet Keys
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
moaazsidat-webpack-dll-bundles-plugin
Advanced tools
A Webpack plugin for bundling group of packages as DLLs
A Plugin for Webpack that uses Webpack's DllPlugin
& DllReferencePlugin
to create bundle configurations as part of the build process.
The plugin will monitor for changes in packages and rebuild the bundles accordingly.
const webpackMerge = require('webpack-merge'); // used to merge webpack configs
const commonConfig = require('./webpack.common.js'); // the settings that are common
new DllBundlesPlugin({
bundles: {
polyfills: [
'core-js',
'zone.js',
],
vendor: [
'@angular/platform-browser',
'@angular/platform-browser-dynamic',
'@angular/core',
'@angular/common',
'@angular/forms',
'@angular/http',
'@angular/router',
'@angularclass/hmr',
'rxjs',
]
},
dllDir: './dll',
webpackConfig: webpackMerge(commonConfig({env: ENV}), {
devtool: 'cheap-module-source-map',
plugins: [] // DllBundlesPlugin will set the DllPlugin here
})
})
webpackConfig Accepts a path (string), webpack config object or webpack config object factory.
DllBundlesPlugin
will override the entry and add the DllPlugins requires.
DllBundlesPlugin
will also add theDllReferencePlugin
to the webpack configuration it is defined on.
Currently, the file name templates for dll's is locked, you can get a projected file name for a dll using the resolveFile
function.
new AddAssetHtmlPlugin([
{ filepath: helpers.root(`dll/${DllBundlesPlugin.resolveFile('polyfills')}`) },
{ filepath: helpers.root(`dll/${DllBundlesPlugin.resolveFile('vendor')}`) }
])
Modified to support webpack 1.x (instead of webpack 2.x)
FAQs
A Webpack plugin for bundling group of packages as DLLs
The npm package moaazsidat-webpack-dll-bundles-plugin receives a total of 6 weekly downloads. As such, moaazsidat-webpack-dll-bundles-plugin popularity was classified as not popular.
We found that moaazsidat-webpack-dll-bundles-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
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
Research
A malicious package uses a QR code as steganography in an innovative technique.
Research
/Security News
Socket identified 80 fake candidates targeting engineering roles, including suspected North Korean operators, exposing the new reality of hiring as a security function.