Deprecated Broccoli plugin for copying static files with optional filtering and directory restructuring. The last published version (0.2.2) is no longer maintained. Replaced by broccoli-funnel since 2015. Does not support Broccoli 1.x or Node.js modern versions. Known for simple src/dest directory mapping and glob-based file selection. Alternatives: broccoli-funnel (recommended), broccoli-file-creator, or manual copy with broccoli-merge-trees.
npm install broccoli-static-compilerNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows how to copy selected image files from a source directory to a destination directory using glob patterns.
Replace require('broccoli-static-compiler') with require('broccoli-funnel') and adjust options (srcDir -> srcDir, destDir -> destDir, files -> allowFiles).Upgrade to broccoli-funnel which supports Broccoli 1.x and Node.js >=8.
Always specify 'files' if you want to filter, or omit to copy all. Note that empty array copies no files.
Use absolute paths or ensure paths are correct relative to Broccoli's working directory.
Install broccoli-funnel instead: npm install --save-dev broccoli-funnel, then update code.
Use: var pickFiles = require('broccoli-static-compiler');Switch to broccoli-funnel which supports both 0.x and 1.x.