Webpack loader that runs Rollup on matched files, allowing you to apply Rollup's tree-shaking and plugin ecosystem within a Webpack build pipeline. Version 1.0.0 is the latest and only release, and appears to be in maintenance mode with no recent updates. It combines Rollup for bundling with Webpack for module resolution and loader chaining. Unlike alternatives like @rollup/plugin-url or directly using Rollup, this loader integrates Rollup as a step in Webpack's build process.
npm install rollup-webpack-loaderVerified import paths — ran on the pinned version, not inferred.
Minimal webpack configuration using rollup-webpack-loader with default Rollup options.
Consider using @rollup/plugin-url or direct Rollup integration instead.
Use webpack 1 or test thoroughly with your webpack version.
Use rollup-plugin-babel instead of babel-loader for proper tree-shaking.
Add rollup-plugin-babel to the rollup options.
Run 'npm install rollup --save-dev' or 'yarn add rollup -D'.