Skip to content

Commit c48648c

Browse files
Make lodash a peer dependency and optimize bundle for modern browsers
1 parent d12ce12 commit c48648c

File tree

6 files changed

+6187
-8198
lines changed

6 files changed

+6187
-8198
lines changed

.babelrc

Lines changed: 2 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -4,19 +4,7 @@
44
"@babel/preset-react"
55
],
66
"plugins": [
7-
"@babel/plugin-syntax-dynamic-import",
8-
"@babel/plugin-syntax-import-meta",
9-
"@babel/plugin-proposal-class-properties",
10-
"@babel/plugin-proposal-json-strings",
11-
[
12-
"@babel/plugin-proposal-decorators",
13-
{
14-
"legacy": true
15-
}
16-
],
17-
"@babel/plugin-proposal-function-sent",
18-
"@babel/plugin-proposal-export-namespace-from",
19-
"@babel/plugin-proposal-numeric-separator",
20-
"@babel/plugin-proposal-throw-expressions"
7+
"@babel/plugin-transform-runtime",
8+
"@babel/plugin-proposal-class-properties"
219
]
2210
}

.browserslistrc

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
last 3 Chrome major versions
2+
last 2 Firefox major versions
3+
last 2 Safari major versions
4+
Firefox ESR
5+
last 2 Edge major versions
6+
last 2 Samsung major version
7+
last 2 iOS major version
8+
last 2 Android major version

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# 2.0.0 - Dec 2020
2+
3+
***(Enhancement)*** Breaking change to make lodash a peer dependency and optimize the bundle for modern browsers
4+
15
# 1.7.0 - Apr 2020
26

37
***(FEATURE)*** Add support for IntersectionObserver and disable autoplay functionality when the carousel is outside the viewport

0 commit comments

Comments
 (0)