Resolves import/require on a file into a URL and emits the file into the output directory. Stable version 6.2.0 (last release Oct 2020, maintenance mode) with webpack 4/5 support. Key differentiator from alternatives (e.g., url-loader, webpack asset modules) is explicit file emission with custom naming, output path, and public path configuration. Supports hashing, ES modules, and sourceFilename.
Verified import paths — ran on the pinned version, not inferred.
file-loader returns the default export as the URL string.
CommonJS usage returns the URL via module.exports.
use property can be a string or array; Objects with loader/options are also valid.
Shows basic webpack config and usage of file-loader with custom naming and output path.
Breaking-change detection hasn't run for this library yet.
CVE tracking and dependency tree are planned for a later release.