From c89abda3fb55857bb81c4f2163a4a0396a04fc27 Mon Sep 17 00:00:00 2001 From: syuilo Date: Sun, 12 Jul 2020 11:29:45 +0900 Subject: [PATCH] feat(client): Remove ResizeObserver polyfill --- package.json | 1 - src/client/app.vue | 1 - src/client/directives/size.ts | 2 -- yarn.lock | 5 ----- 4 files changed, 9 deletions(-) diff --git a/package.json b/package.json index 84afa14d8..ea46611b3 100644 --- a/package.json +++ b/package.json @@ -43,7 +43,6 @@ "@fortawesome/free-regular-svg-icons": "5.13.1", "@fortawesome/free-solid-svg-icons": "5.13.1", "@fortawesome/vue-fontawesome": "0.1.10", - "@juggle/resize-observer": "3.2.0", "@koa/cors": "3.1.0", "@koa/multer": "3.0.0", "@koa/router": "9.3.1", diff --git a/src/client/app.vue b/src/client/app.vue index 41b196536..edf6a6237 100644 --- a/src/client/app.vue +++ b/src/client/app.vue @@ -93,7 +93,6 @@ import Vue from 'vue'; import { faGripVertical, faChevronLeft, faHashtag, faBroadcastTower, faFireAlt, faEllipsisH, faPencilAlt, faBars, faTimes, faSearch, faUserCog, faCog, faUser, faHome, faStar, faCircle, faAt, faListUl, faPlus, faUserClock, faUsers, faTachometerAlt, faExchangeAlt, faGlobe, faChartBar, faCloud, faServer, faInfoCircle, faQuestionCircle, faProjectDiagram } from '@fortawesome/free-solid-svg-icons'; import { faBell, faEnvelope, faLaugh, faComments } from '@fortawesome/free-regular-svg-icons'; -import { ResizeObserver } from '@juggle/resize-observer'; import { v4 as uuid } from 'uuid'; import { host } from './config'; import { search } from './scripts/search'; diff --git a/src/client/directives/size.ts b/src/client/directives/size.ts index 541f38fd7..2b589662f 100644 --- a/src/client/directives/size.ts +++ b/src/client/directives/size.ts @@ -1,5 +1,3 @@ -import { ResizeObserver } from '@juggle/resize-observer'; - export default { inserted(el, binding, vn) { const query = binding.value; diff --git a/yarn.lock b/yarn.lock index ad6cb9ca3..cb62324c9 100644 --- a/yarn.lock +++ b/yarn.lock @@ -148,11 +148,6 @@ normalize-path "^2.0.1" through2 "^2.0.3" -"@juggle/resize-observer@3.2.0": - version "3.2.0" - resolved "https://registry.yarnpkg.com/@juggle/resize-observer/-/resize-observer-3.2.0.tgz#5e0b448d27fe3091bae6216456512c5904d05661" - integrity sha512-fsLxt0CHx2HCV9EL8lDoVkwHffsA0snUpddYjdLyXcG5E41xaamn9ZyQqOE9TUJdrRlH8/hjIf+UdOdDeKCUgg== - "@koa/cors@3.1.0": version "3.1.0" resolved "https://registry.yarnpkg.com/@koa/cors/-/cors-3.1.0.tgz#618bb073438cfdbd3ebd0e648a76e33b84f3a3b2"