A Rollup plugin that concatenates files into single output files during the buildStart hook, making them available for import by other plugins. Version 1.0.4 is stable but has no recent updates (last release likely pre-2020). Key differentiator: integrates directly into Rollup's build pipeline with grouped file configurations. Alternative to manual concatenation or separate build steps.
npm install rollup-plugin-concatVerified import paths — ran on the pinned version, not inferred.
Configures rollup-plugin-concat to concatenate fileA.js and fileB.js into ab.js before bundling.
Ensure that concatenated files are static or trigger a rebuild manually if they change.
Use absolute paths or resolve relative to __dirname.
Consider using @rollup/plugin-multi-entry or manual concatenation scripts.
Run: npm install rollup-plugin-concat --save-dev
Use: import concat from 'rollup-plugin-concat'
Provide options as { groupedFiles: [ {...} ] }No dependency data recorded yet.