Releases: babel/babel-loader
Releases Β· babel/babel-loader
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)
7.1.3
v8.0.0-beta.0
v8.0.0-beta.0
- Change peerDep to
@babel/core
instead ofbabel-core
since we have moved to scoped packages: #522