From: greentore <117551249+greentore@users.noreply.github.com>
Date: Thu, 3 Aug 2023 04:23:28 +0000 (+0200)
Subject: Prevent `manifest.json` from being inlined (#1359)
X-Git-Tag: v3.0.0~30
X-Git-Url: https://git.wafflesoft.org/?a=commitdiff_plain;h=34b2901566bb49bdeab4cd6d3fb9dc7ee845279f;p=rainny.git
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>
---
diff --git a/index.html b/index.html
index 36c5740..6bc955c 100644
--- a/index.html
+++ b/index.html
@@ -27,7 +27,7 @@
-
+
diff --git a/vite.config.js b/vite.config.js
index 6a44316..f09aa71 100644
--- a/vite.config.js
+++ b/vite.config.js
@@ -21,10 +21,14 @@ const copyFiles = {
src: 'config.json',
dest: '',
},
+ {
+ src: 'public/manifest.json',
+ dest: '',
+ },
{
src: 'public/res/android',
dest: 'public/',
- }
+ },
],
}