![Namecheap Takes Down Polyfill.io Service Following Supply Chain Attack](https://cdn.sanity.io/images/cgdhsj6q/production/6af25114feaaac7179b18127c83327568ff592d1-1024x1024.webp?w=800&fit=max&auto=format)
Security News
Namecheap Takes Down Polyfill.io Service Following Supply Chain Attack
Polyfill.io has been serving malware for months via its CDN, after the project's open source maintainer sold the service to a company based in China.
@angular-custom-builders/lite-serve
Advanced tools
Readme
This builder allows you to run a lite-server with an existing dist folder. Useful in case of a CI/CD to avoid to build the project as part of the ng e2e command.
The only mandatory option is browserTarget. Using the target the lite-serve builder is able to figure out the path of the dist folder.
browserTarget: Target to serve
port: Port to listen on. Default 4200
logLevel: Can be either "info", "debug", "warn", or "silent". Default: info
watch: Rebuild on change. Default false
open: Opens the url in default browser. Default false
Create a new project with the nx cli.
npx create-nx-workspace@latest workspace --preset="angular" --appName="myapp" --style="css"
cd myapp
Add lite-serve
to your project
npx ng add @angular-custom-builders/lite-serve myapp
Note: In case the e2e project does not follow the default rule myapp-e2e you can use the -e option to pass the custom name
npx ng add @angular-custom-builders/lite-serve myapp -e custom-name-e2e
ng run myapp-e2e:e2e
FAQs
Custom builder to run lite-server with options
We found that @angular-custom-builders/lite-serve demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 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
Polyfill.io has been serving malware for months via its CDN, after the project's open source maintainer sold the service to a company based in China.
Security News
OpenSSF is warning open source maintainers to stay vigilant against reputation farming on GitHub, where users artificially inflate their status by manipulating interactions on closed issues and PRs.
Security News
A JavaScript library maintainer is under fire after merging a controversial PR to support legacy versions of Node.js.