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.
npm install netpack-rollupNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows how to create a Rollup host instance with required configuration and invoke bundling.
Pin rollup to version 1.x or use an alternative bundler host.
Consider migrating to JavaScriptServices alternatives or using a different approach.
Evaluate if the functionality is still needed and look for modern replacements.
Always provide a valid NodeServices instance in the host configuration.
npm install rollup@^1.0.0 --save-dev
Ensure NodeServices is properly configured and passed to createRollupHost.
Provide a valid rollupConfig object with 'input' and 'output' properties.