Prevent manifest.json
from being inlined (#1359)
* Disable asset inlining * Prevent `manifest.json` from being inlined * Update backtick to single quote in vite.config.js --------- Co-authored-by: Ajay Bura <32841439+ajbura@users.noreply.github.com>
This commit is contained in:
parent
1adee07127
commit
34b2901566
2 changed files with 6 additions and 2 deletions
|
@ -27,7 +27,7 @@
|
||||||
|
|
||||||
<link id="favicon" rel="shortcut icon" href="./public/favicon.ico" />
|
<link id="favicon" rel="shortcut icon" href="./public/favicon.ico" />
|
||||||
|
|
||||||
<link rel="manifest" href="./public/manifest.json" />
|
<link rel="manifest" href="/manifest.json" />
|
||||||
<meta name="mobile-web-app-capable" content="yes" />
|
<meta name="mobile-web-app-capable" content="yes" />
|
||||||
<meta name="application-name" content="Cinny" />
|
<meta name="application-name" content="Cinny" />
|
||||||
<meta name="apple-mobile-web-app-title" content="Cinny" />
|
<meta name="apple-mobile-web-app-title" content="Cinny" />
|
||||||
|
|
|
@ -21,10 +21,14 @@ const copyFiles = {
|
||||||
src: 'config.json',
|
src: 'config.json',
|
||||||
dest: '',
|
dest: '',
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
src: 'public/manifest.json',
|
||||||
|
dest: '',
|
||||||
|
},
|
||||||
{
|
{
|
||||||
src: 'public/res/android',
|
src: 'public/res/android',
|
||||||
dest: 'public/',
|
dest: 'public/',
|
||||||
}
|
},
|
||||||
],
|
],
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue