Skip to content

Commit

Permalink
Reapply "Switch from create-react-app to vite (#7808)" (#7824)
Browse files Browse the repository at this point in the history
This reverts commit a1dfb00.

Additional changes:

- Remove `basePlugin` and customize base configuration:
  - Set base to `/` instead of `./`.

- Remove `buildPathPlugin` and customize build configuration:
  - Empty `build` folder before each build to ensure clean builds.
  - Rename `assets` to `static` to align with what AFD expects.
  - Rename `dist` to `build`.
  • Loading branch information
joechung-msft committed Sep 23, 2024
1 parent 1504ba2 commit 28cb013
Show file tree
Hide file tree
Showing 5 changed files with 5,793 additions and 14,761 deletions.
1 change: 1 addition & 0 deletions client-react/public/index.html → client-react/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
Learn how to configure a non-root public URL by running `npm run build`.
-->
<title>Azure App Service</title>
<script type="module" src="src/index"></script>
</head>

<body style="margin:0">
Expand Down
Loading

0 comments on commit 28cb013

Please sign in to comment.