Skip to content

Commit

Permalink
Add a webpack directive for naming icon chunks
Browse files Browse the repository at this point in the history
  • Loading branch information
pugnascotia committed May 13, 2019
1 parent 75fee43 commit b932619
Show file tree
Hide file tree
Showing 4 changed files with 147 additions and 137 deletions.
5 changes: 5 additions & 0 deletions .babelrc.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
module.exports = {
// We need to preserve comments as they are used by webpack for
// naming chunks during code-splitting. The compression step during
// bundling will remove them later.
"comments": true,

"presets": [
["@babel/env", {
"targets": {
Expand Down
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
- Converted `relative_options` to TS ([#1921](https://github.com/elastic/eui/pull/1921))
- Added width to `EuiFlexItem` when gutter in `EuiFlexGrid` is set to none. ([#1941](https://github.com/elastic/eui/pull/1941))
- Format all JavaScript files with Prettier through ESLint ([#1906](https://github.com/elastic/eui/pull/1906))
- Add a webpack directive for naming icon chunks ([#1944])(https://github.com/elastic/eui/pull/1944))

**Bug fixes**

Expand Down
Loading

0 comments on commit b932619

Please sign in to comment.