
Security News
Crates.io Users Targeted by Phishing Emails
The Rust Security Response WG is warning of phishing emails from rustfoundation.dev targeting crates.io users.
entry-chunk-loader
Advanced tools
Webpack loader to generate a new entry chunk.
A fork of spawn-loader
, with a few notable changes:
npm install --save-dev entry-chunk-loader
// simplest usage: emits otherBundle.js in the same directory
import url from 'entry-chunk-loader!./otherBundle');
// url === 'otherBundle.js'
// build into a subdir: emits otherBundle.js
// (and any assets it emits) into childDir/
import url from 'entry-chunk-loader?path=childDir!./otherBundle';
// url === 'childDir/otherBundle.js'
// specify a different name
import url from 'entry-chunk-loader?name=bundle.js!./file';
// url === 'bundle.js'
// emit the required file as-is, with no prelude
// only useful in combination with other loaders
import url from 'entry-chunk-loader?inert!./manifest.json';
// url === 'manifest.json'
// simplest usage: emits otherBundle.js in the same directory
const url = require('entry-chunk-loader!./otherBundle');
// url === 'otherBundle.js'
// build into a subdir: emits otherBundle.js
// (and any assets it emits) into childDir/
const url = require('entry-chunk-loader?path=childDir!./otherBundle');
// url === 'childDir/otherBundle.js'
// specify a different name
const url = require('entry-chunk-loader?name=bundle.js!./file');
// url === 'bundle.js'
// emit the required file as-is, with no prelude
// only useful in combination with other loaders
const url = require('entry-chunk-loader?inert!./manifest.json');
// url === 'manifest.json'
FAQs
Webpack loader to generate a new entry chunk.
We found that entry-chunk-loader 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
The Rust Security Response WG is warning of phishing emails from rustfoundation.dev targeting crates.io users.
Product
Socket now lets you customize pull request alert headers, helping security teams share clear guidance right in PRs to speed reviews and reduce back-and-forth.
Product
Socket's Rust support is moving to Beta: all users can scan Cargo projects and generate SBOMs, including Cargo.toml-only crates, with Rust-aware supply chain checks.