Skip to content
JS
Package

file-loader

A file loader module for webpack

v6.2.0, 27 Oct 2020MITCommonJSTypes: NoneBundler plugins and loaders
$ npm install file-loader

Key numbers

As of 25 Sept 2026
Weekly downloads
11.3m
-3% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
2
Direct, from package.json
Last release
5 years ago
v6.2.0
GitHub stars
1.8k
248 forks
Open issues / PRs
1 / 0
Contributors
-
Commits, last 52 weeks
0

Downloads

Last week 2026-09-15 to 2026-09-21
05m10m15mSept 2025Mar 2026Sept 2026High 13.1m (10 Mar 2026)Low 5.4m (23 Dec 2025)
Weekly npm downloads, one point per week, weeks starting 23 Sept 2025 to 15 Sept 2026. The y axis starts at zero.

11,252,627 downloads last week, 42,143,177 in the last month. The 12-month change of -3% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
049 in total
Latest version
6.2.0, 27 Oct 20205 years ago
First published
7 May 2012
Last push to GitHub
5 Mar 20212,029 days before the snapshot
Repository archived
Yes
Open issues
1
Open pull requests
0
Commits, last 52 weeks
0
Dependents on npm
12,344

Major versions

  1. v6 first release 6.0.0, 17 Mar 2020
  2. v5 first release 5.0.0, 25 Nov 2019
  3. v4 first release 4.0.0, 5 Jun 2019
  4. v3 first release 3.0.0, 20 Dec 2018
  5. v2 first release 2.0.0, 21 Aug 2018
  6. v1 first release 1.0.0, 26 Jul 2017
  7. v0 first release 0.1.0, 7 May 2012

Recent releases

VersionPublished
6.2.027 Oct 2020
6.1.19 Oct 2020
6.1.031 Aug 2020
6.0.017 Mar 2020
5.1.019 Feb 2020
5.0.225 Nov 2019
5.0.125 Nov 2019
5.0.025 Nov 2019
4.3.021 Nov 2019
4.2.07 Aug 2019
4.1.018 Jul 2019
4.0.05 Jun 2019
3.0.120 Dec 2018
3.0.020 Dec 2018
Module format
CommonJSFrom package.json type, main and exports fields
TypeScript types
None
Node.js engine range
>= 10.13.0
Runtimes
-
Unpacked size (npm)
37 kB
Dependencies (2)
loader-utilsschema-utils
Peer dependencies (1)
webpack
npm install file-loader
  • jsDelivrhttps://cdn.jsdelivr.net/npm/file-loader@6.2.0/
  • unpkghttps://unpkg.com/file-loader@6.2.0/
  • esm.shhttps://esm.sh/file-loader@6.2.0
PackageWeekly downloadsGzipLast releaseModuleComparison
style-loader18.6m-2 years agoCommonJS-
thread-loader1.1m-2 years agoCommonJS-
imports-loader416.1k-2 years agoCommonJS-
expose-loader413.7k-1 year agoCommonJS-
exports-loader274.8k-2 years agoCommonJS-
coffee-loader117.5k-2 years agoCommonJS-
null-loader1.6m-5 years ago--
compression-webpack-plugin978.2k-6 months agoCommonJS-
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Indexed.