
Security News
vlt Launches "reproduce": A New Tool Challenging the Limits of Package Provenance
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
angular-builders
Advanced tools
A set of additional builders for angular-cli
npm i -D angular-cli-builders
angular.json
:
...
"architect": {
...
"[architect-target]": {
"builder": "angular-builders:[name-of-builder]"
"options": {
...
}
Where:
ng [architect-target]
"architect": {
...
"build": {
"builder": "angular-builders:custom-webpack-browser"
"options": {
...
}
ng build
Extended @angular-devkit/build-angular:browser
builder that allows to specify additional webpack configuration (on top of the existing under the hood).
The builder will run the same build as @angular-devkit/build-angular:browser
does with extra parameters that are specified in the provided webpack configuration.
Options:
@angular-devkit/build-angular:browser
optionswebpackConfigPath
: path to the extra webpack configuration, defaults to webpack.config.js
angular.json
Example:
"architect": {
...
"build": {
"builder": "angular-builders:custom-webpack-browser"
"options": {
"webpackConfigPath": "./extra-webpack.config.js",
"outputPath": "dist/my-cool-library",
"index": "src/index.html",
"main": "src/main.ts",
"polyfills": "src/polyfills.ts",
"tsConfig": "src/tsconfig.app.json"
}
Extended @angular-devkit/build-angular:server
builder that allows to specify additional webpack configuration (on top of the existing under the hood).
The builder will run the same build as @angular-devkit/build-angular:server
does with extra parameters that are specified in the provided webpack
configuration.
Options:
@angular-devkit/build-angular:server
optionswebpackConfigPath
: path to the extra webpack configuration, defaults to webpack.config.js
angular.json
Example:
"architect": {
...
"build": {
"builder": "angular-builders:custom-webpack-server"
"options": {
"webpackConfigPath": "./extra-webpack.config.js",
"outputPath": "dist/my-cool-library",
"index": "src/index.html",
"main": "src/main.ts",
"polyfills": "src/polyfills.ts",
"tsConfig": "src/tsconfig.app.json"
}
FAQs
Marble testing helpers library for RxJs and Jest
We found that angular-builders 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
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
Research
Security News
Socket researchers uncovered a malicious PyPI package exploiting Deezer’s API to enable coordinated music piracy through API abuse and C2 server control.
Research
The Socket Research Team discovered a malicious npm package, '@ton-wallet/create', stealing cryptocurrency wallet keys from developers and users in the TON ecosystem.