Skip to content
JS
Package

magic-comments-loader

Add webpack magic comments to your dynamic imports at build time.

v3.0.0, 7 Feb 2026MITESM + CommonJSTypes: NoneBundler plugins and loaders
$ npm install magic-comments-loader

Key numbers

As of 25 Sept 2026
Weekly downloads
11.7k
+334% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
4
Direct, from package.json
Last release
7 months ago
v3.0.0
GitHub stars
12
0 forks
Open issues / PRs
0 / 7
Contributors
-
Commits, last 52 weeks
2

Downloads

Last week 2026-09-15 to 2026-09-21
05k10k15k20kSept 2025Mar 2026Sept 2026High 19.5k (28 Jul 2026)Low 363 (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,725 downloads last week, 55,490 in the last month. The 12-month change of +334% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
-
Latest version
3.0.0, 7 Feb 20267 months ago
First published
-
Last push to GitHub
22 May 2026125 days before the snapshot
Repository archived
No
Open issues
0
Open pull requests
7
Commits, last 52 weeks
2
Dependents on npm
0

Major versions

-

Recent releases

-

Module format
ESM + CommonJSFrom package.json type, main and exports fields
TypeScript types
None
Node.js engine range
>=22.21.1
Runtimes
-
Unpacked size (npm)
30 kB
Dependencies (4)
oxc-parsermagic-stringschema-utilsmagic-comments
npm install magic-comments-loader
  • jsDelivrhttps://cdn.jsdelivr.net/npm/magic-comments-loader@3.0.0/
  • unpkghttps://unpkg.com/magic-comments-loader@3.0.0/
  • esm.shhttps://esm.sh/magic-comments-loader@3.0.0
PackageWeekly downloadsGzipLast releaseModuleComparison
clean-css-loader8.5k-3 years agoCommonJS-
wasm-loader7.2k-8 years agoCommonJS-
css-loader24.6m-27 days agoCommonJS-
rails-erb-loader35.4k-7 years agoCommonJS-
extract-loader34.1k-6 years agoCommonJS-
angular-router-loader11.9k-8 years agoCommonJS-
string-replace-loader358.9k-9 months agoCommonJS-
workerize-loader45.9k-4 years agoCommonJS-
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Indexed.