Move dist assets to a containing folder

This commit is contained in:
James Lyne 2020-12-17 13:49:25 +00:00
parent 3acd40efd2
commit 304e772353
11 changed files with 15 additions and 5 deletions

View File

@ -14,11 +14,11 @@
<meta name="apple-mobile-web-app-capable" content="yes" /> <meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" /> <meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" />
<link rel="apple-touch-icon" sizes="180x180" href="<%= BASE_URL %>favicons/apple-touch-icon.png"> <link rel="apple-touch-icon" sizes="180x180" href="<%= BASE_URL %>live-atlas/favicons/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="<%= BASE_URL %>favicons/favicon-32x32.png"> <link rel="icon" type="image/png" sizes="32x32" href="<%= BASE_URL %>live-atlas/favicons/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="<%= BASE_URL %>favicons/favicon-16x16.png"> <link rel="icon" type="image/png" sizes="16x16" href="<%= BASE_URL %>live-atlas/favicons/favicon-16x16.png">
<link rel="manifest" href="<%= BASE_URL %>favicons/site.webmanifest"> <link rel="manifest" href="<%= BASE_URL %>live-atlas/favicons/site.webmanifest">
<link rel="shortcut icon" href="<%= BASE_URL %>favicons/favicon.ico"> <link rel="shortcut icon" href="<%= BASE_URL %>live-atlas/favicons/favicon.ico">
<title>Minecraft Dynamic Map</title> <title>Minecraft Dynamic Map</title>

View File

Before

Width:  |  Height:  |  Size: 16 KiB

After

Width:  |  Height:  |  Size: 16 KiB

View File

Before

Width:  |  Height:  |  Size: 55 KiB

After

Width:  |  Height:  |  Size: 55 KiB

View File

Before

Width:  |  Height:  |  Size: 13 KiB

After

Width:  |  Height:  |  Size: 13 KiB

View File

Before

Width:  |  Height:  |  Size: 921 B

After

Width:  |  Height:  |  Size: 921 B

View File

Before

Width:  |  Height:  |  Size: 1.9 KiB

After

Width:  |  Height:  |  Size: 1.9 KiB

View File

Before

Width:  |  Height:  |  Size: 15 KiB

After

Width:  |  Height:  |  Size: 15 KiB

View File

Before

Width:  |  Height:  |  Size: 11 KiB

After

Width:  |  Height:  |  Size: 11 KiB

View File

@ -1,5 +1,15 @@
module.exports = { module.exports = {
publicPath: '', publicPath: '',
assetsDir: 'live-atlas',
pluginOptions: {
svgSprite: {
loaderOptions: {
extract: true,
spriteFilename: 'live-atlas/img/icons.[hash:8].svg'
},
}
},
chainWebpack: config => { chainWebpack: config => {
config.plugin('html') config.plugin('html')