{"library":"netpack-rollup","title":"netpack-rollup","description":"NetPack-rollup is a host module that integrates Rollup as a bundler within the NetPack build pipeline, leveraging Microsoft.AspNetCore.NodeServices for ASP.NET Core interoperability. Current version 1.0.40 is stable but sees no active development. It is a niche tool for ASP.NET Core projects that need Rollup bundling, with TypeScript source and transpiled JavaScript output. Differentiators: tight coupling with .NET ecosystem, unlike standalone Rollup wrappers.","language":"javascript","status":"maintenance","last_verified":"Mon Apr 27","install":{"commands":["npm install netpack-rollup"],"cli":null},"imports":["import netpackRollup from 'netpack-rollup'","import { RollupHost } from 'netpack-rollup'","import { createRollupHost } from 'netpack-rollup'"],"auth":{"required":false,"env_vars":[]},"quickstart":{"code":"import { createRollupHost } from 'netpack-rollup';\n\nconst host = createRollupHost({\n  rollupConfig: {\n    input: 'src/index.js',\n    output: { dir: 'dist', format: 'esm' }\n  },\n  nodeServices: {\n    options: { /* Add NodeServices options */ }\n  }\n});\n\nhost.bundle().then(() => console.log('Bundle complete')).catch(err => console.error(err));","lang":"typescript","description":"Shows how to create a Rollup host instance with required configuration and invoke bundling.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}