
Security News
MCP Steering Committee Launches Official MCP Registry in Preview
The MCP Steering Committee has launched the official MCP Registry in preview, a central hub for discovering and publishing MCP servers.
@ng-rsbuild/plugin-angular
Advanced tools
Plugin providing Rsbuild support for Angular applications, both SSR and CSR.
Thank you to Brandon Roberts and Analog for their work on building Angular applications with Vite which both inspired this plugin and provided a basis for the compilation implementation.
Prerequisites: Angular SSR Application already created with ng new --ssr
.
npm install --save-dev @rsbuild/core
npm install --save-dev @ng-rsbuild/plugin-angular
rsbuild.config.ts
file at the root of your project with the following:import { createConfig } from '@ng-rsbuild/plugin-angular';
export default createConfig({
browser: './src/main.ts',
server: './src/main.server.ts',
ssrEntry: './src/server.ts',
});
./src/server.ts
file to use the createServer
util:import { createServer } from '@ng-rsbuild/plugin-angular/ssr';
import bootstrap from './main.server';
const server = createServer(bootstrap);
/** Add your custom server logic here
*
* For example, you can add a custom static file server:
*
* server.app.use('/static', express.static(staticFolder));
*
* Or add additional api routes:
*
* server.app.get('/api/hello', (req, res) => {
* res.send('Hello World!');
* });
*
* Or add additional middleware:
*
* server.app.use((req, res, next) => {
* res.send('Hello World!');
* });
*/
server.listen();
npx rsbuild build
node dist/server/server.js
npx rsbuild dev
Prerequisites: Angular CSR Application already created with ng new
.
npm install --save-dev @rsbuild/core
npm install --save-dev @ng-rsbuild/plugin-angular
rsbuild.config.ts
file at the root of your project with the following:import { createConfig } from '@ng-rsbuild/plugin-angular';
export default createConfig({
browser: './src/main.ts',
});
npx rsbuild build
npx rsbuild dev
FAQs
Rsbuild Plugin for building Angular.
We found that @ng-rsbuild/plugin-angular demonstrated a healthy version release cadence and project activity because the last version was released less than 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
The MCP Steering Committee has launched the official MCP Registry in preview, a central hub for discovering and publishing MCP servers.
Product
Socket’s new Pull Request Stories give security teams clear visibility into dependency risks and outcomes across scanned pull requests.
Research
/Security News
npm author Qix’s account was compromised, with malicious versions of popular packages like chalk-template, color-convert, and strip-ansi published.