Skip to content

Commit

Permalink
🔧 Fixes!
Browse files Browse the repository at this point in the history
Changed file delivery, loading -> index, and others
  • Loading branch information
KingPr0o7 committed Jan 14, 2023
1 parent 32bc5e2 commit d8073e3
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,9 @@
"predeploy": "npm run build",
"deploy": "echo ncp.dev > ./dist/CNAME && gh-pages -d dist",
"dev": "vite",
"prebuild": "replace-in-files --string='/src/main-page/main.html' --replacement='main.html' src/loading-page/index.js",
"build": "vite build",
"postbuild": "ncp src/loading-page dist && ncp src/main-page dist && del-cli --force dist/src && replace-in-files --string='/src/main-page/main.html' --replacement='main.html' dist/index.js",
"postbuild": "ncp dist/src/loading-page dist && ncp dist/src/main-page dist && del-cli --force dist/src && replace-in-files --string='main.html' --replacement='/src/main-page/main.html' src/loading-page/index.js",
"preview": "vite preview"
},
"devDependencies": {
Expand Down
6 changes: 3 additions & 3 deletions src/loading-page/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -86,11 +86,11 @@
<p style="color: grey;" class="output-line file-output-line">dist/<span id="image">ncp-icon.png</span></p><br>
<p style="color: grey;" class="output-line file-output-line">dist/<span id="image">ncp-long-forum.png</span></p><br>
<p style="color: grey;" class="output-line file-output-line">dist/<span id="image">poster.png</span></p><br>
<p style="color: grey;" class="output-line file-output-line">dist/<span id="html">loading.html</span></p><br>
<p style="color: grey;" class="output-line file-output-line">dist/<span id="html">index.html</span></p><br>
<p style="color: grey;" class="output-line file-output-line">dist/<span id="html">main.html</span></p><br>
<p style="color: grey;" class="output-line file-output-line">dist/<span id="css">loading.css</span></p><br>
<p style="color: grey;" class="output-line file-output-line">dist/<span id="css">index.css</span></p><br>
<p style="color: grey;" class="output-line file-output-line">dist/<span id="css">main.css</span></p><br>
<p style="color: grey;" class="output-line file-output-line">dist/<span id="js">loading.js</span></p><br>
<p style="color: grey;" class="output-line file-output-line">dist/<span id="js">index.js</span></p><br>
<p style="color: grey;" class="output-line file-output-line">dist/<span id="js">main.js</span></p><br>
</body>
</html>

0 comments on commit d8073e3

Please sign in to comment.