This repository has been archived by the owner on Feb 23, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 264
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* chore: add config to mint amount * feat: add preview gh-pages * chore: prettify
- Loading branch information
1 parent
ec40015
commit 78c73e8
Showing
5 changed files
with
23 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
#!/bin/sh | ||
|
||
export PUBLIC_URL="/swayswap" | ||
export BUILD_PATH="dist"$PUBLIC_URL | ||
|
||
# Clean dist folder | ||
rm -rf dist | ||
|
||
# Build folder with BASE_URL | ||
npx tsc && npx vite build && | ||
|
||
# Copy to inside folder | ||
cp $BUILD_PATH/index.html dist/404.html | ||
|
||
# Run server and open on browser | ||
npx http-server dist -o $PUBLIC_URL -c-1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters