Skip to content

Commit

Permalink
Merge branch 'release/1.0.3'
Browse files Browse the repository at this point in the history
  • Loading branch information
khalwat committed May 13, 2019
2 parents 0aa876e + be4740b commit 6bebd4e
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 1 deletion.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# Annotated webpack 4 config changelog

## 1.0.3 - 2019-05-13
### Changed
* Fixed an error where the default `excludes` should be an empty array `[]` instead of an empty string
* Added `corejs` specification in the `babel-loader` options

## 1.0.2 - 2019-05-02
### Changed
* Moved the `excludes` babel-loader config to `webpack.settings.js`
Expand Down
4 changes: 4 additions & 0 deletions webpack.common.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,10 @@ const configureBabelLoader = (browserList) => {
[
'@babel/preset-env', {
modules: false,
corejs: {
version: 3,
proposals: true
},
useBuiltIns: 'entry',
targets: {
browsers: browserList,
Expand Down
2 changes: 1 addition & 1 deletion webpack.settings.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ module.exports = {
"app": "app.js"
},
babelLoaderConfig: {
exclude: '',
exclude: [],
},
copyWebpackConfig: [
{
Expand Down

0 comments on commit 6bebd4e

Please sign in to comment.