babel-loader
10.1.1 · 9 Mar 2026MIT28.2M / weekRepositorynpmAtom feed
73 stable releases, newest first, by release line. Notes are quoted as the maintainers published them.
- 10.x · latest line
10.1.0
6 Mar 2026Enable type checking and support Babel 8
Mark webpack as optional peer dependency
Pin Node.js on CI
What's Changed
Enable type checking and support Babel 8
Mark webpack as optional peer dependency
Pin Node.js on CI
10.0.0
27 Feb 2025- Breaking
Use output.hashFunction as loader cache hasher
- Removed
Remove caller option check
Add babel-loader logger
What's Changed
Breaking Changes
- Breaking
Bump node requirement to
^18.20.0 || ^20.10.0 || >=22.0.0and webpack requirement to>= 5.61.0 - Breaking
Use output.hashFunction as loader cache hasher
New Features
Add babel-loader logger
Support cache with external dependencies
Bug Fixes
Ensure stability of filename cache-keys
Internal
- Removed
Remove caller option check
- 9.x
9.2.1
16 Sep 2024Avoid error on missing getLogger
9.2.0
16 Sep 2024- Removed
Remove caller option check
Update deps
Add babel-loader logger
What's Changed
- Removed
Remove caller option check
Update deps
Add babel-loader logger
9.1.3
7 Jul 2023Only updates dependencies:http-cache-semantics 4.1.1semver 7.5.2find-cache-dir 4
9.1.2
4 Jan 2023- Security
GitHub Workflows security hardening
9.1.1 was a broken release, it didn't include all the commits.
Misc
- Security
GitHub Workflows security hardening
9.1.1
4 Jan 20239.1.0
3 Nov 2022Pass external dependencies from Babel to Webpack
9.0.1
31 Oct 2022Remove "node:" builtin prefix
9.0.0
27 Oct 2022Update hash method mechanism so it doesn't fail on a fips enabled machine
Require babel ^7.12.0 and Node.js >= 14.15.0 versions
Remove dependency on loader-utils and drop webpack 4 support
- 8.x
8.4.1
16 Sep 2024Avoid error on missing getLogger
8.4.0
16 Sep 2024- Security
Fix loader-utils vulnerability
Add babel-loader logger
8.3.0
3 Nov 2022Pass external dependencies from Babel to Webpack
8.2.5
19 Apr 2022Respect
inputSourceMaploader option
8.2.4
22 Mar 2022Use md5 hashing for OpenSSL 3
What's Changed
Use md5 hashing for OpenSSL 3
Thanks @loveDstyle, @stianjensen and @pathmapper for your first PRs!
8.2.3
20 Oct 2021Use md5 hash for caching on node v17 (#918)
This release fixes compatibility with Node.js 17
Use md5 hash for caching on node v17 (#918)
Thanks @Reptarsrage!
8.2.2
26 Nov 20208.2.1
10 Nov 2020Move
@ava/babeltodevDependencies#881
8.0.6
12 May 2019Migrate to pify
Reduced memory usage
8.0.4 – 8.0.52 releases with no change for you1 dependency update, 1 maintenancefind-cache-dir 2.0Show each
- 8.0.54 Jan 2019find-cache-dir 2.0
- 8.0.427 Sep 2018docs, tests or tooling
8.0.3
27 Sep 2018Add
customizeoptionAlso pass the caller option to loadPartialConfig
Features
Add
customizeoption
Bugs
Also pass the caller option to loadPartialConfig
Internal
Some dev dependency updates and CI tweaks.
8.0.2
3 Sep 2018A bunch of great README fixes
Add
cacheCompression: falseto disable GZip compression of the disk cacheHandle both 'sourceMap' and 'sourceMaps' options properly
A bunch of great README fixes
Add
cacheCompression: falseto disable GZip compression of the disk cacheHandle both 'sourceMap' and 'sourceMaps' options properly
Fix
sourceMaps: 'inline'to work properly withbabel-loaderFix sourcemaps to work with Webpack's
devtoolModuleFilenameTemplateplaceholders
8.0.1
1 Sep 2018Add a warning if you forget to install
@babel/coreor installbabel-core.
Add a warning if you forget to install
@babel/coreor installbabel-core.
8.0.0
27 Aug 2018README updates
Dropped peer dependency on betas and RCs, but left the backward-compat code we had for now to give people time to migrate
This is the first stable release of
babel-loaderfor Babel 7.x.README updates
Dropped peer dependency on betas and RCs, but left the backward-compat code we had for now to give people time to migrate
- 7.x
7.1.4
6 Mar 2018Update code to read filename
7.1.3
25 Feb 2018Support webpack 4
7.1.2
18 Aug 2017Add the message in BabelLoaderError's stack trace on node 8
Do not swallow errors in exists() and only call exists if option is string
Bug Fix
Add the message in BabelLoaderError's stack trace on node 8
Do not swallow errors in exists() and only call exists if option is string
7.1.1
28 Jun 2017Do not read .babelrc for cache identifier when babelrc=false
Bug Fix
Do not read .babelrc for cache identifier when babelrc=false
7.1.0
20 Jun 2017Update to support webpack 3
Look for babel options in package.json and .babelrc.js (babel 7)
Watch configuration files.
You can now change the babel config while webpack watch or dev-server is running and webpack will correctly recompile all files with babel.
New Feature
Update to support webpack 3
Look for babel options in package.json and .babelrc.js (babel 7)
Watch configuration files.
You can now change the babel config while webpack watch or dev-server is running and webpack will correctly recompile all files with babel.
Bug Fix
Only base cache identifier on babel options from package.json
7.0.0
21 Apr 2017- Breaking
Drop support for node < 4
- Breaking
Drop support for webpack 1
Support babel-core@7
Breaking Change
- Breaking
Drop support for node < 4
- Breaking
Drop support for webpack 1
New Feature
Support babel-core@7
Bug Fix
Make sure .babelrc is a file, not a directory
Bump loader-utils and use getOptions
Ensure options are always an object
- 6.x
6.4.1
16 Mar 2017Fixed reset of BABEL_ENV when options.forceEnv is used
6.4.0
6 Mar 2017Added metadata passing from babel to webpack, which is currently used by react-intl
6.3.2
16 Feb 2017Reading the note…
6.3.1
15 Feb 2017Reading the note…
6.3.0
14 Feb 2017Add new config option
forceEnvUpdate loader-utils dependency to ^0.2.16 to fix compatibility with webpack 2
Improve FS caching to do less sync calls which improves performance slightly
New Feature
Add new config option
forceEnv
Allow to override BABEL_ENV/NODE_ENV at loader-level. Useful for isomorphic applications which have separate babel config for client and server.
Bug Fix
Update loader-utils dependency to ^0.2.16 to fix compatibility with webpack 2
Polish
Improve FS caching to do less sync calls which improves performance slightly
6.2.10
15 Dec 2016Reading the note…
6.2.9
7 Dec 2016Reading the note…
6.2.8
18 Nov 2016Reading the note…
6.2.7
27 Oct 2016Reading the note…
6.2.6
26 Oct 2016Reading the note…
6.2.5
17 Aug 2016Reading the note…
6.2.4
27 Feb 2016Reading the note…
6.2.3
17 Feb 2016Reading the note…
6.2.2
4 Feb 2016Reading the note…
6.2.1
4 Jan 2016Reading the note…
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.