Skip to content

Commit fb0fe5e

Browse files
TrySoundjquense
authored andcommitted
1 parent c3b7734 commit fb0fe5e

File tree

4 files changed

+24
-12
lines changed

4 files changed

+24
-12
lines changed

.babelrc

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,11 @@
77
"esm": {
88
"presets": [
99
["jason", { "modules": false }]
10+
],
11+
"plugins": [
12+
["babel-plugin-transform-rename-import", {
13+
replacements: [{ original: "lodash", replacement: "lodash-es" }]
14+
}]
1015
]
1116
}
1217
}

.size-snapshot.json

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,25 @@
11
{
22
"./dist/react-big-calendar.js": {
3-
"bundled": 560715,
4-
"minified": 171082,
5-
"gzipped": 50325
3+
"bundled": 554005,
4+
"minified": 170219,
5+
"gzipped": 50027
66
},
77
"./dist/react-big-calendar.min.js": {
8-
"bundled": 496938,
9-
"minified": 151688,
10-
"gzipped": 45761
8+
"bundled": 490228,
9+
"minified": 150810,
10+
"gzipped": 45487
1111
},
1212
"dist/react-big-calendar.esm.js": {
13-
"bundled": 169709,
14-
"minified": 81558,
15-
"gzipped": 20076,
13+
"bundled": 169733,
14+
"minified": 81582,
15+
"gzipped": 20080,
1616
"treeshaked": {
1717
"rollup": {
18-
"code": 62946,
19-
"import_statements": 1378
18+
"code": 62970,
19+
"import_statements": 1402
2020
},
2121
"webpack": {
22-
"code": 66385
22+
"code": 66409
2323
}
2424
}
2525
}

package.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@
7777
"babel-eslint": "^10.0.1",
7878
"babel-jest": "^23.6.0",
7979
"babel-plugin-transform-react-remove-prop-types": "^0.4.22",
80+
"babel-plugin-transform-rename-import": "^2.3.0",
8081
"babel-preset-jason": "^6.0.1",
8182
"bootstrap": "^3.3.5",
8283
"component-metadata-loader": "^4.0.0",
@@ -126,6 +127,7 @@
126127
"dom-helpers": "^3.4.0",
127128
"invariant": "^2.2.4",
128129
"lodash": "^4.17.11",
130+
"lodash-es": "^4.17.11",
129131
"memoize-one": "^4.0.3",
130132
"prop-types": "^15.6.2",
131133
"react-overlays": "^1.2.0",

yarn.lock

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2634,6 +2634,11 @@ babel-plugin-transform-remove-undefined@^0.5.0:
26342634
dependencies:
26352635
babel-helper-evaluate-path "^0.5.0"
26362636

2637+
babel-plugin-transform-rename-import@^2.3.0:
2638+
version "2.3.0"
2639+
resolved "https://registry.yarnpkg.com/babel-plugin-transform-rename-import/-/babel-plugin-transform-rename-import-2.3.0.tgz#5d9d645f937b0ca5c26a24b2510a06277b6ffd9b"
2640+
integrity sha512-dPgJoT57XC0PqSnLgl2FwNvxFrWlspatX2dkk7yjKQj5HHGw071vAcOf+hqW8ClqcBDMvEbm6mevn5yHAD8mlQ==
2641+
26372642
babel-plugin-transform-simplify-comparison-operators@^6.9.4:
26382643
version "6.9.4"
26392644
resolved "https://registry.yarnpkg.com/babel-plugin-transform-simplify-comparison-operators/-/babel-plugin-transform-simplify-comparison-operators-6.9.4.tgz#f62afe096cab0e1f68a2d753fdf283888471ceb9"

0 commit comments

Comments
 (0)