For changes in version v7.0.0 and up please go to release
forceEnv
was interfering with regular environment handlingforceEnv
options wasn't working as expected (#379) @chrisvaszforceEnv
(#368) @moimaelAllow to override BABEL_ENV/NODE_ENV at loader-level. Useful for isomorphic applications which have separate babel config for client and server.
Support for webpack 2.2-rc has been added in this release
Source maps on windows did not work correctly with v6.2.8. Thanks @josephst
.gz
as the extension, not .gzip
(#326) @bjornstarFallback to os.tmpdir()
if no cachedir found (#318) (fixes #317) @danez
Fixes an issue with v6.2.6 when using babel-loader
as a global package.
cacheDirectory
(#301) @fsonUse the common cache directory, ./node_modules/.cache/babel-loader
, as the default cache directory (when the cacheDirectory setting is enabled).
query: {
cacheDirectory: true
}
resolve the .babelrc relative to the file path rather than the cwd (current working directory).
fix: more concise formatting for Babel errors (#287) (Andrey Popp)
.babelrc
file into the cacheIdentifier
if it existsAdd the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.