For changes in version v7.0.0 and up please go to release
- Fixed reset of BABEL_ENV when options.forceEnv is used (#420) @nikopavlica
- added metadata passing from babel to webpack, which is currently used by react-intl (#398) @Ognian
forceEnv
was interfering with regular environment handling
- The new
forceEnv
options wasn't working as expected (#379) @chrisvasz
- Add new config option
forceEnv
(#368) @moimael
Allow to override BABEL_ENV/NODE_ENV at loader-level. Useful for isomorphic applications which have separate babel config for client and server.
- Update loader-utils dependency to ^0.2.16 to fix compatibility with webpack 2 (#371) @leonaves
- Improve FS caching to do less sync calls which improves performance slightly (#375) @akx
Support for webpack 2.2-rc has been added in this release
- If cache directory not writable, try to fallback to tmpdir before failing
Source maps on windows did not work correctly with v6.2.8. Thanks @josephst
- Add AppVeyor to run tests on windows @danez
- Fix tests on windows (#343) @danez
- gzipped files should have
.gz
as the extension, not.gzip
(#326) @bjornstar - fix options.sourceFileName gennerate bug (#260) @creeperyang
- Update README docs for cacheDirectory's actual behaviour (#245) @sohkai
- updates docs re: transform-runtime (#197) @gbrassey
- Use eslint and nyc (#321) @danez
- Adjust travis config (#320) @danez
- Use babel to compile babel-loader (#319) @danez
Fallback 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.
- Use standard cache dir as default
cacheDirectory
(#301) @fson
Use the common cache directory, ./node_modules/.cache/babel-loader
, as the default cache directory (when the cacheDirectory setting is enabled).
query: {
cacheDirectory: true
}
- Don't show the call stack for a Babel error (such as when you have a syntax error)
- 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)
- fix(resolve-rc): resolve-rc relative file path (#253) (Luke Page)
- add babel-core and preset-2015 to dev dependencies (#273) (timse)
- chore(docs): add issue and pr templates (#280) (Joshua Wiens)
- chore(docs): fix badge formatting (Joshua Wiens)
- chore(ci): expand travis testing (#278) (Joshua Wiens)
- Update README: add env vars to cacheIdentifier (#267) (Dominik Ferber)
- add npm badge [skip ci] (Henry Zhu)
- update [skip ci] (Henry Zhu)
- remove jsx references as well [skip ci] (Henry Zhu)
- Save the transform to devDependencies (Ray Booysen)
- Remove 'react' preset (Jake Rios)
- Removed babel-preset-react from README.md (Ben Stephenson)
- change allowed peer deps (all webpack 2 beta versions)
- change allowed peer deps (2.0.7-beta)
- Update peerDependencies to accept webpack 2 #208
- Remove duplicated dependencies
- Pass true filenames #106
- Remove babel-core from devDependencies
- Merge PR #146 Set source file name relative to options.sourceRoot
- Merge PR #136 use container-based infrastructure for faster build
- Merge PR #121 Make babelrc configurable
- Merge PR #113 Include BABEL_ENV || NODE_ENV in cacheIdentifier
- Update to babel v6.
- Merge PR #85 - Don't override sourcemap if sourcesContent already exists.
- Merge PR #82 - Fallback global options to empty object to avoid conflicts with object-assign polyfill.
- Merge PR #79 - This should allow babel-loader to work with enhanced-require.
- Include
.babelrc
file into thecacheIdentifier
if it exists