Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
@angular-builders/dev-server
Advanced tools
Dev server generic builder for Angular build facade. Allows to run custom builder in serve target
Enhanced @angular-devkit/build-angular:dev-server
builder that leverages the custom webpack builder to get webpack configuration.
Unlike the default @angular-devkit/build-angular:dev-server
it doesn't use @angular-devkit/build-angular:browser
configuration to run the dev server.
Instead it uses a builder that is specified in browserTarget
as long as it provides buildWebpackConfig
method.
Thus, if you use @angular-builders/dev-server:generic
along with @angular-builders/custom-webpack:browser
, ng serve
will run with custom configuration provided in the latter.
npm i -D @angular-builders/dev-server
angular.json
:
"projects": {
...
"[project]": {
...
"architect": {
...
"[architect-target]": {
"builder": "@angular-builders/dev-server:generic"
"options": {
...
}
Where:
[architect-target]
is not one of the predefined targets (like build, serve etc.) then run it like this:ng run [project]:[architect-target]
ng [architect-target]
angular.json
:
"architect": {
...
"build": {
"builder": "@angular-builders/custom-webpack:browser"
"options": {
"customWebpackConfig": {
path: "./extra-webpack.config.js"
}
...
},
"serve": {
"builder": "@angular-builders/dev-server:generic",
"options": {
"browserTarget": "my-project:build"
}
}
In this example dev-server
will use custom-webpack:browser
builder, hence modified webpack config, when invoking the serve target.
FAQs
Dev server generic builder for Angular build facade. Allows to run custom builder in serve target
We found that @angular-builders/dev-server 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.
Research
Security News
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.