From 01266927452371292e4ae4e9c6bf36a4a6e6de66 Mon Sep 17 00:00:00 2001 From: daysai <470040845@qq.com> Date: Mon, 19 Aug 2019 15:18:49 +0800 Subject: [PATCH 1/2] fix: empty dynamic assets before unmount --- package.json | 2 -- src/AppRoute.tsx | 3 +++ 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 8bfadd36..5f6e4a76 100644 --- a/package.json +++ b/package.json @@ -39,7 +39,6 @@ "react-dom": ">=15.0.0" }, "dependencies": { - "history": "^4.6.1", "path-to-regexp": "^1.7.0", "url-parse": "^1.1.9" }, @@ -47,7 +46,6 @@ "@commitlint/cli": "^7.5.2", "@commitlint/config-conventional": "^7.5.0", "@ice/spec": "^0.1.4", - "@types/history": "^4.7.0", "@types/jest": "^24.0.12", "@types/node": "^12.0.0", "@types/path-to-regexp": "^1.7.0", diff --git a/src/AppRoute.tsx b/src/AppRoute.tsx index 8f72564a..f05f3c4f 100644 --- a/src/AppRoute.tsx +++ b/src/AppRoute.tsx @@ -70,6 +70,9 @@ export default class AppRoute extends React.Component Date: Mon, 19 Aug 2019 15:18:59 +0800 Subject: [PATCH 2/2] fix: emptyAssets before unmount --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 5f6e4a76..ef5dd801 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@ice/stark", - "version": "0.1.2", + "version": "0.1.3", "description": "Icestark is a JavaScript library for multiple react projects, Ice workbench solution.", "scripts": { "build": "rm -rf lib && tsc",