From c405fc0dbbaae69055623174e158ae2bd1fbe346 Mon Sep 17 00:00:00 2001 From: Danielle McLean Date: Wed, 16 May 2018 15:50:19 +1000 Subject: [PATCH] Load Tippy and the OpenWeb icons from unpkg rather than bundling them --- lemoncurry/templates/lemoncurry/layout.html | 9 ++++++--- package.json | 5 +---- yarn.lock | 14 -------------- 3 files changed, 7 insertions(+), 21 deletions(-) diff --git a/lemoncurry/templates/lemoncurry/layout.html b/lemoncurry/templates/lemoncurry/layout.html index e99a677..013a7e0 100644 --- a/lemoncurry/templates/lemoncurry/layout.html +++ b/lemoncurry/templates/lemoncurry/layout.html @@ -36,9 +36,11 @@ integrity="sha384-WskhaSGFgHYWDcbwN70/dfYBj47jz9qbsMId/iRN3ewGhXQFZCSftd1LZCfmhktB" crossorigin="anonymous" /> + + {% compress css %} - - {% block styles %}{% endblock %} {% endcompress %} @@ -118,9 +120,10 @@ integrity="sha384-smHYKdLADwkXOn1EmN1qk/HfnUcbVRZyYmZ4qpPea6sjB/pTJ0euyQp0Mk8ck+5T"> + {% compress js %} - diff --git a/package.json b/package.json index a1c7f6e..8caef3e 100644 --- a/package.json +++ b/package.json @@ -7,8 +7,5 @@ "js-yaml": "^3.10.0", "stylus": "^0.54.5" }, - "dependencies": { - "openwebicons": "^1.4.3", - "tippy.js": "^2.5.2" - } + "dependencies": {} } diff --git a/yarn.lock b/yarn.lock index 0bc193f..3ba20bb 100644 --- a/yarn.lock +++ b/yarn.lock @@ -100,18 +100,10 @@ once@^1.3.0: dependencies: wrappy "1" -openwebicons@^1.4.3: - version "1.4.3" - resolved "https://registry.yarnpkg.com/openwebicons/-/openwebicons-1.4.3.tgz#06ceeb8b82b756abfe9905e1abe5ff53fa3467e9" - path-is-absolute@^1.0.0: version "1.0.1" resolved "https://registry.yarnpkg.com/path-is-absolute/-/path-is-absolute-1.0.1.tgz#174b9268735534ffbc7ace6bf53a5a9e1b5c5f5f" -popper.js@^1.14.3: - version "1.14.3" - resolved "https://registry.yarnpkg.com/popper.js/-/popper.js-1.14.3.tgz#1438f98d046acf7b4d78cd502bf418ac64d4f095" - sax@0.5.x: version "0.5.8" resolved "https://registry.yarnpkg.com/sax/-/sax-0.5.8.tgz#d472db228eb331c2506b0e8c15524adb939d12c1" @@ -137,12 +129,6 @@ stylus@^0.54.5: sax "0.5.x" source-map "0.1.x" -tippy.js@^2.5.2: - version "2.5.2" - resolved "https://registry.yarnpkg.com/tippy.js/-/tippy.js-2.5.2.tgz#01de112a80219032a3cf06ac2d29a4d69480705d" - dependencies: - popper.js "^1.14.3" - wrappy@1: version "1.0.2" resolved "https://registry.yarnpkg.com/wrappy/-/wrappy-1.0.2.tgz#b5243d8f3ec1aa35f1364605bc0d1036e30ab69f"