Skip to content

Commit 3ad1897

Browse files
committed
chore: upgrade webpack
1 parent bc64e42 commit 3ad1897

File tree

6 files changed

+60
-69
lines changed

6 files changed

+60
-69
lines changed

demo/slideshow.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

demo/vendor.dll.js

Lines changed: 5 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/SlideShow.d.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ import React from "react";
22
interface Props {
33
style: any;
44
images: string[];
5-
prevIcon: React.ReactNode;
6-
nextIcon: React.ReactNode;
5+
prevIcon?: React.ReactNode;
6+
nextIcon?: React.ReactNode;
77
withTimestamp?: boolean;
88
pageWillUpdate?: (index: number, image: string) => void;
99
showFullscreenIcon?: boolean;

package-lock.json

Lines changed: 48 additions & 57 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,8 +84,8 @@
8484
"ts-jest": "24.0.2",
8585
"ts-loader": "6.0.4",
8686
"typescript": "^3.7.4",
87-
"webpack": "4.39.1",
88-
"webpack-cli": "3.3.6"
87+
"webpack": "^4.41.5",
88+
"webpack-cli": "^3.3.10"
8989
},
9090
"pre-commit": [
9191
"build:all",

src/SlideShow.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ import Viewer from "./Viewer";
1616
interface Props {
1717
style: any;
1818
images: string[];
19-
prevIcon: React.ReactNode;
20-
nextIcon: React.ReactNode;
19+
prevIcon?: React.ReactNode;
20+
nextIcon?: React.ReactNode;
2121
withTimestamp?: boolean;
2222
pageWillUpdate?: (index: number, image: string) => void;
2323
showFullscreenIcon?: boolean;

0 commit comments

Comments
 (0)