Releases: babel/babel-loader
Releases · babel/babel-loader
v8.0.2
- #541 - A bunch of great README fixes
- #574 - Add
cacheCompression: false
to disable GZip compression of the disk cache - #670 - Handle both 'sourceMap' and 'sourceMaps' options properly
- #671 - Fix
sourceMaps: 'inline'
to work properly withbabel-loader
- #669 - Fix sourcemaps to work with Webpack's
devtoolModuleFilenameTemplate
placeholders
v8.0.1
v8.0.0
This is the first stable release of babel-loader
for 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
v8.0.0-beta.6
- #639 - Use MD4 instead of SHA1 for filename hashes
- #644 - Read file before creating directory
- #645 - [docs] Update http-links to https
- #660 - Pass Babel's .caller option and pass supportsStaticESM:true.
NOTE: For those looking for v8.0.0-beta.5
, it was a mis-publish of the wrong branch and included only #660 and missed the other 3 PRs.
v7.1.5
v8.0.0-beta.4
- #629 Include additional result values from Babel's output for custom loaders
8.0.0-beta.3
7.1.4
8.0.0-beta.2
💥BREAKING CHANGE
-
Remove forceEnv in favor of the core envName option. (#586) (@loganfsmyth)
The
forceEnv
option has been removed. You can simple replace it with the new optionenvName
from babel-core. (see https://github.com/babel/babel/tree/master/packages/babel-core#options)
{
loader: 'babel-loader',
options: {
- forceEnv: 'staging',
+ envName: 'staging',
},
}
🐛 Bug Fix
8.0.0-beta.1
💥BREAKING CHANGE
The babelrc
option was changed. It now only accepts true
or false
as valid option (similar to other babel packages) and does not allow setting a string. If you previously had a filename specified you need to change to extends
{
loader: 'babel-loader',
options: {
- babelrc: 'path/to/.babelrc',
+ babelrc: false,
+ extends: 'path/to/.babelrc',
},
}
🐛 Bug Fix
- Support webpack 4.0 (#550) (@lencioni)
- fix compatibility with @babel/core option check when inputSourceMap null (#538) (@Delagen)
- fix babelrc option behaviour (#583) (@danez)
- use async babel transform (#584) (@michael-ciniawsky)
📝 Documentation
- README: document babelrc option (#442) (@jedwards1211)