diff --git a/index.html b/index.html new file mode 100644 index 0000000..4835529 --- /dev/null +++ b/index.html @@ -0,0 +1,46 @@ + + + + Mutiny Wallet + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/insertHead.js b/insertHead.js deleted file mode 100644 index 5f33b61..0000000 --- a/insertHead.js +++ /dev/null @@ -1,17 +0,0 @@ -import { readFile, writeFile } from 'fs/promises'; -import { join } from 'path'; - -const insertHeadTag = async () => { - const filePath = join(process.cwd(), 'dist', 'public', 'index.html'); - try { - let data = await readFile(filePath, 'utf8'); - const lines = data.split('\n'); - lines.splice(2, 0, ''); - data = lines.join('\n'); - await writeFile(filePath, data); - } catch (err) { - console.error(`Error: ${err}`); - } -}; - -insertHeadTag(); diff --git a/package.json b/package.json index 7b8c5b7..8ce00d9 100644 --- a/package.json +++ b/package.json @@ -6,7 +6,7 @@ "scripts": { "dev": "solid-start dev", "host": "solid-start dev --host", - "build": "solid-start build && node insertHead.js", + "build": "solid-start build", "start": "solid-start start", "check-types": "tsc --noemit", "eslint": "eslint src", diff --git a/tsconfig.json b/tsconfig.json index 06fbf07..5a6219a 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -23,7 +23,8 @@ "playwright.config.ts", "vite.config.ts", ".eslintrc.cjs", - "e2e/**/*" + "e2e/**/*", + "capacitor.config.ts" ], "exclude": [ "node_modules",