
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
@itwin/core-webpack-tools
Advanced tools
Set of Webpack Plugins and Loaders used for building iTwin.js applications
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:
| Name | Description |
|---|---|
| strip-assert-loader | Removes all uses of @itwin/core-bentley assert() method from the webpack bundle. |
| Name | Description |
|---|---|
| BackendDefaultsPlugin | Combines a set of Webpack plugins to use as defaults when building an iTwin.js backend. (Used in @itwin/backend-webpack-tools). |
| BanImportsPlugin | Bans any import that crosses the frontend/backend boundary |
| CopyBentleyStaticResourcesPlugin | Copies static resources from @bentley and itwin scoped packages into the output folder. Used to copy "assets", "public" and other resource files. |
| CopyExternalsPlugin | Copies all npm packages containing an external module (and their direct dependencies) to a node_modules directory next to the webpack output. |
| PrettyLoggingPlugin | Formats the output messages to print better when running within Azure DevOps Pipelines. Flags any warnings as errors when running a CI build. |
| WatchBackendPlugin | Reloads a frontend anytime its corresponding backend changes. |
FAQs
Set of Webpack Plugins and Loaders used for building iTwin.js applications
The npm package @itwin/core-webpack-tools receives a total of 3,136 weekly downloads. As such, @itwin/core-webpack-tools popularity was classified as popular.
We found that @itwin/core-webpack-tools demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 5 open source maintainers 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
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.