Skip to content

Commit ecb30fe

Browse files
committed
Upgrade webpack deps required for esm output
1 parent 8a93a5c commit ecb30fe

File tree

2 files changed

+1045
-2599
lines changed

2 files changed

+1045
-2599
lines changed

package.json

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
"version": "1.3.1",
44
"description": "react library for generating avatar",
55
"main": "dist/index.js",
6+
"module": "dist/index.esm.js",
67
"types": "dist/index.d.ts",
78
"scripts": {},
89
"keywords": [
@@ -16,6 +17,7 @@
1617
"react": ">=16.0.0"
1718
},
1819
"dependencies": {
20+
"@babel/runtime": "^7.14.3",
1921
"chroma-js": "^2.1.2",
2022
"prop-types": "^15.7.2"
2123
},
@@ -47,7 +49,7 @@
4749
"eslint-plugin-react-hooks": "^4.2.0",
4850
"file-loader": "^6.2.0",
4951
"file-saver": "^2.0.5",
50-
"html-webpack-plugin": "^3.2.0",
52+
"html-webpack-plugin": "^5.5.0",
5153
"jest": "^27.0.6",
5254
"mini-css-extract-plugin": "^1.6.2",
5355
"postcss": "^8.3.6",
@@ -67,10 +69,10 @@
6769
"ts-jest": "^27.0.4",
6870
"tsconfig-paths-webpack-plugin": "^3.5.1",
6971
"typescript": "^4.4.2",
70-
"webpack": "^4.41.0",
71-
"webpack-cli": "^3.3.10",
72-
"webpack-dev-server": "^3.8.2",
73-
"webpack-merge": "^4.2.2"
72+
"webpack": "^5.77.0",
73+
"webpack-cli": "^5.0.1",
74+
"webpack-dev-server": "^4.13.1",
75+
"webpack-merge": "^5.8.0"
7476
},
7577
"repository": {
7678
"type": "git",

0 commit comments

Comments
 (0)