Security News
pnpm 10.0.0 Blocks Lifecycle Scripts by Default
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
@rspack/cli
Advanced tools
@rspack/cli is a command-line interface for Rspack, a fast JavaScript bundler. It allows developers to bundle JavaScript applications efficiently, providing various features for configuration, optimization, and development workflows.
Bundling JavaScript
This command bundles the JavaScript files in your project according to the configuration specified in the rspack.config.js file.
npx rspack-cli build
Development Server
This command starts a development server with hot module replacement, allowing you to see changes in real-time as you develop your application.
npx rspack-cli serve
Custom Configuration
This command allows you to specify a custom configuration file for the bundling process, giving you flexibility in how your project is built.
npx rspack-cli build --config custom.config.js
webpack-cli is the official command-line interface for Webpack, a popular JavaScript module bundler. It offers similar functionalities to @rspack/cli, such as bundling, development server, and custom configurations. However, Webpack is more established and has a larger ecosystem.
Parcel is a zero-configuration web application bundler that offers fast performance and simplicity. Unlike @rspack/cli, Parcel aims to work out of the box without requiring extensive configuration, making it a good choice for smaller projects or quick prototypes.
Rollup is a module bundler for JavaScript that focuses on producing smaller, more efficient bundles. It is often used for library development due to its tree-shaking capabilities. While @rspack/cli is more general-purpose, Rollup excels in optimizing code for production.
Command-line interface for rspack.
See https://rspack.dev for details.
Rspack is MIT licensed.
FAQs
CLI for rspack
The npm package @rspack/cli receives a total of 155,149 weekly downloads. As such, @rspack/cli popularity was classified as popular.
We found that @rspack/cli demonstrated a healthy version release cadence and project activity because the last version was released less than 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
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
Product
Socket now supports uv.lock files to ensure consistent, secure dependency resolution for Python projects and enhance supply chain security.
Research
Security News
Socket researchers have discovered multiple malicious npm packages targeting Solana private keys, abusing Gmail to exfiltrate the data and drain Solana wallets.