From 304e7723536af70fbb89455a0dbe2bc87ce38b13 Mon Sep 17 00:00:00 2001 From: James Lyne Date: Thu, 17 Dec 2020 13:49:25 +0000 Subject: [PATCH] Move dist assets to a containing folder --- public/index.html | 10 +++++----- .../favicons/android-chrome-192x192.png | Bin .../favicons/android-chrome-512x512.png | Bin .../{ => live-atlas}/favicons/apple-touch-icon.png | Bin public/{ => live-atlas}/favicons/browserconfig.xml | 0 public/{ => live-atlas}/favicons/favicon-16x16.png | Bin public/{ => live-atlas}/favicons/favicon-32x32.png | Bin public/{ => live-atlas}/favicons/favicon.ico | Bin public/{ => live-atlas}/favicons/mstile-150x150.png | Bin public/{ => live-atlas}/favicons/site.webmanifest | 0 vue.config.js | 10 ++++++++++ 11 files changed, 15 insertions(+), 5 deletions(-) rename public/{ => live-atlas}/favicons/android-chrome-192x192.png (100%) rename public/{ => live-atlas}/favicons/android-chrome-512x512.png (100%) rename public/{ => live-atlas}/favicons/apple-touch-icon.png (100%) rename public/{ => live-atlas}/favicons/browserconfig.xml (100%) rename public/{ => live-atlas}/favicons/favicon-16x16.png (100%) rename public/{ => live-atlas}/favicons/favicon-32x32.png (100%) rename public/{ => live-atlas}/favicons/favicon.ico (100%) rename public/{ => live-atlas}/favicons/mstile-150x150.png (100%) rename public/{ => live-atlas}/favicons/site.webmanifest (100%) diff --git a/public/index.html b/public/index.html index 8d2052b..d4e2be9 100644 --- a/public/index.html +++ b/public/index.html @@ -14,11 +14,11 @@ - - - - - + + + + + Minecraft Dynamic Map diff --git a/public/favicons/android-chrome-192x192.png b/public/live-atlas/favicons/android-chrome-192x192.png similarity index 100% rename from public/favicons/android-chrome-192x192.png rename to public/live-atlas/favicons/android-chrome-192x192.png diff --git a/public/favicons/android-chrome-512x512.png b/public/live-atlas/favicons/android-chrome-512x512.png similarity index 100% rename from public/favicons/android-chrome-512x512.png rename to public/live-atlas/favicons/android-chrome-512x512.png diff --git a/public/favicons/apple-touch-icon.png b/public/live-atlas/favicons/apple-touch-icon.png similarity index 100% rename from public/favicons/apple-touch-icon.png rename to public/live-atlas/favicons/apple-touch-icon.png diff --git a/public/favicons/browserconfig.xml b/public/live-atlas/favicons/browserconfig.xml similarity index 100% rename from public/favicons/browserconfig.xml rename to public/live-atlas/favicons/browserconfig.xml diff --git a/public/favicons/favicon-16x16.png b/public/live-atlas/favicons/favicon-16x16.png similarity index 100% rename from public/favicons/favicon-16x16.png rename to public/live-atlas/favicons/favicon-16x16.png diff --git a/public/favicons/favicon-32x32.png b/public/live-atlas/favicons/favicon-32x32.png similarity index 100% rename from public/favicons/favicon-32x32.png rename to public/live-atlas/favicons/favicon-32x32.png diff --git a/public/favicons/favicon.ico b/public/live-atlas/favicons/favicon.ico similarity index 100% rename from public/favicons/favicon.ico rename to public/live-atlas/favicons/favicon.ico diff --git a/public/favicons/mstile-150x150.png b/public/live-atlas/favicons/mstile-150x150.png similarity index 100% rename from public/favicons/mstile-150x150.png rename to public/live-atlas/favicons/mstile-150x150.png diff --git a/public/favicons/site.webmanifest b/public/live-atlas/favicons/site.webmanifest similarity index 100% rename from public/favicons/site.webmanifest rename to public/live-atlas/favicons/site.webmanifest diff --git a/vue.config.js b/vue.config.js index e48424b..6e60f75 100644 --- a/vue.config.js +++ b/vue.config.js @@ -1,5 +1,15 @@ module.exports = { publicPath: '', + assetsDir: 'live-atlas', + + pluginOptions: { + svgSprite: { + loaderOptions: { + extract: true, + spriteFilename: 'live-atlas/img/icons.[hash:8].svg' + }, + } + }, chainWebpack: config => { config.plugin('html')