From 96a3e12103674f26520f9a5b401ebbdaba45334f Mon Sep 17 00:00:00 2001 From: Graham Smith Date: Mon, 22 Jun 2020 15:34:18 -0400 Subject: [PATCH 1/3] embed fonts --- package-lock.json | 12 ++++++++++++ package.json | 1 + public/index.html | 13 ------------- src/App.vue | 1 - vue.config.js | 25 ++++++++++++++++++++++++- 5 files changed, 37 insertions(+), 15 deletions(-) diff --git a/package-lock.json b/package-lock.json index c2280a9e..6fe2ff8c 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1014,6 +1014,18 @@ "to-fast-properties": "^2.0.0" } }, + "@beyonk/google-fonts-webpack-plugin": { + "version": "1.2.3", + "resolved": "https://registry.npmjs.org/@beyonk/google-fonts-webpack-plugin/-/google-fonts-webpack-plugin-1.2.3.tgz", + "integrity": "sha512-QtWDQJmfqJrIuC6tZNNKYV9/+upRlGnu+11ycrSS22MutpSYeeqDzsSHUc0qKxfaiOAn4ASg13tj7EED5Wy68A==", + "dev": true, + "requires": { + "lodash": "^4.17.4", + "node-fetch": "^2.1.2", + "webpack-sources": "^1.1.0", + "yauzl": "^2.8.0" + } + }, "@cnakazawa/watch": { "version": "1.0.4", "resolved": "https://registry.npmjs.org/@cnakazawa/watch/-/watch-1.0.4.tgz", diff --git a/package.json b/package.json index c8731715..e8716214 100644 --- a/package.json +++ b/package.json @@ -24,6 +24,7 @@ }, "devDependencies": { "@babel/plugin-transform-strict-mode": "^7.8.3", + "@beyonk/google-fonts-webpack-plugin": "^1.2.3", "@vue/cli-plugin-babel": "~4.3.0", "@vue/cli-plugin-e2e-cypress": "~4.3.0", "@vue/cli-plugin-eslint": "~4.3.0", diff --git a/public/index.html b/public/index.html index f5dc4bd9..62c7bbd3 100644 --- a/public/index.html +++ b/public/index.html @@ -8,19 +8,6 @@ content="width=device-width,initial-scale=1.0,shrink-to-fit=no" /> - - -