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

@itwin/core-webpack-tools

Package Overview
Dependencies
Maintainers
0
Versions
977
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@itwin/core-webpack-tools

Set of Webpack Plugins and Loaders used for building iTwin.js applications

  • 4.10.2
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
4.3K
increased by2.22%
Maintainers
0
Weekly downloads
 
Created
Source

@itwin/core-webpack-tools

Copyright © Bentley Systems, Incorporated. All rights reserved. See LICENSE.md for license terms and full copyright notice.

The core-webpack-tools package contains a set of webpack loaders and plugins used to build iTwin.js backend and frontends.

The main entry point for building an iTwin.js backend is the @itwin/backend-webpack-tools package**.

This package contains the following Loaders and Plugins:

Loaders

NameDescription
strip-assert-loaderRemoves all uses of @itwin/core-bentley assert() method from the webpack bundle.

Plugins

NameDescription
BackendDefaultsPluginCombines a set of Webpack plugins to use as defaults when building an iTwin.js backend. (Used in @itwin/backend-webpack-tools).
BanImportsPluginBans any import that crosses the frontend/backend boundary
CopyBentleyStaticResourcesPluginCopies static resources from @bentley and itwin scoped packages into the output folder. Used to copy "assets", "public" and other resource files.
CopyExternalsPluginCopies all npm packages containing an external module (and their direct dependencies) to a node_modules directory next to the webpack output.
PrettyLoggingPluginFormats the output messages to print better when running within Azure DevOps Pipelines. Flags any warnings as errors when running a CI build.
WatchBackendPluginReloads a frontend anytime its corresponding backend changes.

FAQs

Package last updated on 21 Nov 2024

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