Skip to content

Commit

Permalink
produce js files in examples
Browse files Browse the repository at this point in the history
  • Loading branch information
purplenicole730 committed Dec 14, 2023
1 parent be8731d commit afacfef
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions rpc/examples/echo/frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
"typescript": "^4.8.4",
"vite": "^4.0.0"
},
"type": "module",
"scripts": {
"prepare": "./etc/prepare.sh",
"build": "vite build",
Expand Down
2 changes: 1 addition & 1 deletion rpc/examples/echo/server/templates/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
window.externalAuthToEntity = {{ .ExternalAuthToEntity }}
window.accessToken = {{ .AccessToken }}
</script>
<script src="./static/main.mjs"></script>
<style>
table {
border-collapse: collapse;
Expand All @@ -21,6 +20,7 @@
padding: 0.5rem;
}
</style>
<script src="./static/main.js"></script>
</head>
<body>
<table>
Expand Down
1 change: 1 addition & 0 deletions rpc/examples/fileupload/frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
"typescript": "^4.8.4",
"vite": "^4.0.0"
},
"type": "module",
"scripts": {
"prepare": "./etc/prepare.sh",
"build": "vite build",
Expand Down

0 comments on commit afacfef

Please sign in to comment.