From 011dc4c23e4d5d34ddcf3dd3f684f49181e9998a Mon Sep 17 00:00:00 2001 From: jaywcjlove <398188662@qq.com> Date: Sun, 16 Jan 2022 23:33:39 +0800 Subject: [PATCH] chore: Fix ci errors. https://github.com/kktjs/kkt/issues/340 TypeError: MiniCssExtractPlugin is not a constructor --- package.json | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index d3c46d78..914fd960 100644 --- a/package.json +++ b/package.json @@ -62,6 +62,7 @@ "husky": "7.0.4", "kkt": "7.0.5", "lint-staged": "12.1.7", + "mini-css-extract-plugin": "^2.4.5", "prettier": "2.5.1", "react": "17.0.2", "react-dom": "17.0.2", @@ -71,16 +72,16 @@ "uiw": "4.9.9" }, "dependencies": { + "@babel/core": "7.16.7", "@babel/plugin-transform-classes": "7.16.7", "@babel/runtime": "7.16.7", "@babel/standalone": "7.16.9", - "@babel/core": "7.16.7", "@codemirror/lang-javascript": "0.19.6", "@uiw/copy-to-clipboard": "1.0.12", "@uiw/react-codemirror": "4.3.3", - "@uiw/react-split": "5.8.5", - "@uiw/react-codesandbox": "1.1.4", "@uiw/react-codepen": "1.0.2", + "@uiw/react-codesandbox": "1.1.4", + "@uiw/react-split": "5.8.5", "babel-plugin-transform-remove-imports": "1.7.0" }, "eslintConfig": {