
Security News
CVE Volume Surges Past 48,000 in 2025 as WordPress Plugin Ecosystem Drives Growth
CVE disclosures hit a record 48,185 in 2025, driven largely by vulnerabilities in third-party WordPress plugins.
ng-custom-transformers
Advanced tools
Package adding support for custom TypeScript transformers configured in tsconfig.json with ttypescript format.
Because Angular CLI does not support custom TypeScript transformers/plugins (there is still an open feature request, more than 4 years), custom transformers must be configured manually by tampering with the Webpack configuration file.
This package has one peer dependency which is "@ngtools/webpack": ">=12.0.0". Which is generally Angular 12 and higher.
Since custom TypeScript transformers/plugins are not officially supported by the Angular CLI, this package rely on unexported private features. Currently, it works like a charm, without changing the default behavior, but it may be broken by the future Angular updates so there can be no guarantee.
npm i ng-custom-transformers -Dtsconfig.json. Format is the same like one defined by ttypescript, but don't use ttypescript, Angular has own pipeline for
transformers.{
"compilerOptions": {
// ... your options ...
// ADD THIS SECTION!
"plugins": [
{
"transform": "tst-reflect-transformer"
},
// use transformer you want
]
}
}
Currently, only transform property is supported, which is a transformer package name or path to a transformer. Other options defined by ttypescript are not implemented
yet. Feel free to create PR!
npm i @angular-builders/custom-webpack -Dmod.webpack.config.js.const {AngularCustomTransformers} = require("ng-custom-transformers");
module.exports = (config, options, targetOptions) => {
// Your transformations of "config" ....
// And the important part here: modifyConfig()
return AngularCustomTransformers.modifyConfig(config);
};
or .ts
import { AngularCustomTransformers } from "ng-custom-transformers";
import {
CustomWebpackBrowserSchema,
TargetOptions
} from "@angular-builders/custom-webpack";
import * as webpack from "webpack";
export default function (
config: webpack.Configuration,
options: CustomWebpackBrowserSchema,
targetOptions: TargetOptions
)
{
// Your transformations of "config"...
// And the important part here: modifyConfig()
return AngularCustomTransformers.modifyConfig(config);
}
angular.json.{
"architect": {
// ...
"build": {
"builder": "@angular-builders/custom-webpack:browser",
// use @angular-builders/custom-webpack builder
"options": {
"customWebpackConfig": {
"path": "./mod.webpack.config.js"
}
// ...
}
}
}
}
ng build or ng serveng add ngx-build-plusng build --plugin ng-custom-transformers or ng serve --plugin ng-custom-transformersFAQs
Package adding support for custom TypeScript transformers configured in tsconfig.json with ttypescript format.
The npm package ng-custom-transformers receives a total of 151 weekly downloads. As such, ng-custom-transformers popularity was classified as not popular.
We found that ng-custom-transformers 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
CVE disclosures hit a record 48,185 in 2025, driven largely by vulnerabilities in third-party WordPress plugins.

Security News
Socket CEO Feross Aboukhadijeh joins Insecure Agents to discuss CVE remediation and why supply chain attacks require a different security approach.

Security News
Tailwind Labs laid off 75% of its engineering team after revenue dropped 80%, as LLMs redirect traffic away from documentation where developers discover paid products.