Skip to content

Commit eacae94

Browse files
authored
Merge pull request #326 from Azure-Samples/carocao/migration2
Migrate CRA to Vite 2
2 parents 274b9ab + 724e175 commit eacae94

File tree

20 files changed

+31983
-119773
lines changed

20 files changed

+31983
-119773
lines changed

.github/workflows/ui-library-pstn-1-n-calling.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,5 +19,5 @@ jobs:
1919
uses: ./.github/workflows/ci-ui-library.yml
2020
with:
2121
runs-on: 'ubuntu-latest'
22-
node-version: '16.x'
22+
node-version: '22.x'
2323
working-directory: './ui-library-pstn-1-n-calling'

.github/workflows/ui-library-quickstart-composites.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,5 +19,5 @@ jobs:
1919
uses: ./.github/workflows/ci-ui-library.yml
2020
with:
2121
runs-on: 'ubuntu-latest'
22-
node-version: '16.x'
22+
node-version: '22.x'
2323
working-directory: './ui-library-quickstart-composites'

.github/workflows/ui-library-quickstart-rooms.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,5 +19,5 @@ jobs:
1919
uses: ./.github/workflows/ci-ui-library.yml
2020
with:
2121
runs-on: 'ubuntu-latest'
22-
node-version: '16.x'
22+
node-version: '22.x'
2323
working-directory: './ui-library-quickstart-rooms'

ui-library-pstn-1-n-calling/public/index.html renamed to ui-library-pstn-1-n-calling/index.html

Lines changed: 5 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -2,33 +2,25 @@
22
<html lang="en">
33
<head>
44
<meta charset="utf-8" />
5-
<link rel="icon" href="%PUBLIC_URL%/favicon.ico" />
5+
<link rel="icon" href="/favicon.ico" />
66
<meta name="viewport" content="width=device-width, initial-scale=1" />
77
<meta name="theme-color" content="#000000" />
88
<meta
99
name="description"
10-
content="Web site created using create-react-app"
10+
content="Web site created using vite"
1111
/>
12-
<link rel="apple-touch-icon" href="%PUBLIC_URL%/logo192.png" />
12+
<link rel="apple-touch-icon" href="/logo192.png" />
1313
<!--
1414
manifest.json provides metadata used when your web app is installed on a
1515
user's mobile device or desktop. See https://developers.google.com/web/fundamentals/web-app-manifest/
1616
-->
17-
<link rel="manifest" href="%PUBLIC_URL%/manifest.json" />
18-
<!--
19-
Notice the use of %PUBLIC_URL% in the tags above.
20-
It will be replaced with the URL of the `public` folder during the build.
21-
Only files inside the `public` folder can be referenced from the HTML.
22-
23-
Unlike "/favicon.ico" or "favicon.ico", "%PUBLIC_URL%/favicon.ico" will
24-
work correctly both with client-side routing and a non-root public URL.
25-
Learn how to configure a non-root public URL by running `npm run build`.
26-
-->
17+
<link rel="manifest" href="/manifest.json" />
2718
<title>React App</title>
2819
</head>
2920
<body>
3021
<noscript>You need to enable JavaScript to run this app.</noscript>
3122
<div id="root"></div>
23+
<script type="module" src="/src/index.tsx"></script>
3224
<!--
3325
This HTML file is a template.
3426
If you open it directly in the browser, you will see an empty page.

0 commit comments

Comments
 (0)