Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@angular-devkit/build-webpack

Package Overview
Dependencies
Maintainers
2
Versions
702
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@angular-devkit/build-webpack

Webpack Builder for Architect

  • 0.1602.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
3.1M
increased by4.45%
Maintainers
2
Weekly downloads
 
Created

What is @angular-devkit/build-webpack?

The @angular-devkit/build-webpack package is a toolkit designed to work with Angular projects, providing utilities and features to enhance the build process of Angular applications using Webpack. It abstracts complex configurations and optimizations into more manageable and Angular-centric commands and configurations.

What are @angular-devkit/build-webpack's main functionalities?

Custom Webpack Configuration

Allows developers to extend or override the default Webpack configuration used by Angular CLI, enabling customizations and optimizations specific to their project's needs.

const { buildWebpackConfig } = require('@angular-devkit/build-webpack');
const customWebpackConfig = {
  // Custom Webpack configurations
};
const webpackConfig = buildWebpackConfig(defaultConfig, customWebpackConfig);

Webpack Dev Server Integration

Facilitates the integration of Webpack Dev Server with Angular projects, simplifying the process of serving applications locally for development with live reloading and other development-friendly features.

const { serveWebpackBrowser } = require('@angular-devkit/build-webpack');
serveWebpackBrowser({
  // Options for serving
});

Optimization Utilities

Provides utilities to optimize the Webpack configuration for production builds, including minification, tree shaking, and other performance enhancements.

const { optimizeWebpackConfig } = require('@angular-devkit/build-webpack');
const optimizedConfig = optimizeWebpackConfig(defaultConfig, {
  // Optimization options
});

Other packages similar to @angular-devkit/build-webpack

Keywords

FAQs

Package last updated on 09 Aug 2023

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc