Skip to content

Commit

Permalink
feat: rename frontend files
Browse files Browse the repository at this point in the history
  • Loading branch information
Dorian committed Sep 22, 2024
1 parent daed35b commit 0072897
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 8 deletions.
4 changes: 0 additions & 4 deletions .github/workflows/cicd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,6 @@ jobs:
steps:
- name: Checkout source
uses: actions/checkout@v4
- name: Generate env prod file
run: echo "${{ secrets.ENV_PROD }}" > .env.prod
- run: cat .env.prod
- run: ls -al
- name: Use Node.js
uses: actions/setup-node@v4
with:
Expand Down
2 changes: 1 addition & 1 deletion esbuild.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ dotenv.config({ path: `.env.${process.env.NODE_ENV}` });

let ctx = await esbuild.context({
logLevel: "info",
entryPoints: ["web/src/app.tsx", "web/src/main.scss"],
entryPoints: ["web/src/App.tsx", "web/src/main.scss"],
outdir: "public",
bundle: true,
minify: true,
Expand Down
2 changes: 1 addition & 1 deletion public/app.js → public/App.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion public/app.js.map → public/App.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion web/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@
<body>
<div id="app"></div>

<script src="/public/app.js"></script>
<script src="/public/App.js"></script>
</body>
</html>

0 comments on commit 0072897

Please sign in to comment.