-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: patch를 이용하여 lottie-web/light 버전 이용
- Loading branch information
1 parent
831615d
commit 0092241
Showing
3 changed files
with
173 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
diff --git a/node_modules/lottie-react/build/index.es.js b/node_modules/lottie-react/build/index.es.js | ||
index a2d9d48..1f08a0b 100644 | ||
--- a/node_modules/lottie-react/build/index.es.js | ||
+++ b/node_modules/lottie-react/build/index.es.js | ||
@@ -1,5 +1,5 @@ | ||
-import lottie from 'lottie-web'; | ||
-export { default as LottiePlayer } from 'lottie-web'; | ||
+import lottie from "lottie-web/build/player/lottie_light"; | ||
+export { default as LottiePlayer } from 'lottie-web/build/player/lottie_light'; | ||
import React, { useState, useRef, useEffect } from 'react'; | ||
|
||
function _iterableToArrayLimit(arr, i) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters