Skip to content

Commit

Permalink
Merge pull request #1629 from bring/upgrade-dependencies_trCxlgwm
Browse files Browse the repository at this point in the history
Upgrade dependencies
  • Loading branch information
Igor-J86 authored Dec 6, 2023
2 parents d979f4b + bfe26b7 commit 89a7645
Show file tree
Hide file tree
Showing 5 changed files with 1,432 additions and 1,115 deletions.
2 changes: 1 addition & 1 deletion layouts/partials/head.html
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
href="https://www.mybring.com/design-system/css/main.min.css?ts={{ now.Unix }}"
/>
{{ if not $.Site.IsServer }}
{{- $jsManifest := getJSON "static/assets/manifest.json" -}}
{{- $jsManifest := getJSON "static/assets/.vite/manifest.json" -}}
<link
rel="stylesheet"
type="text/css"
Expand Down
2 changes: 1 addition & 1 deletion layouts/partials/scripts.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{{ if $.Site.IsServer }}
<script type="module" src="http://localhost:5173/js/main.js"></script>
{{ else }}
{{- $jsManifest := getJSON "static/assets/manifest.json" -}}
{{- $jsManifest := getJSON "static/assets/.vite/manifest.json" -}}
<script nomodule src="{{ print "/assets/" (index $jsManifest "vite/legacy-polyfills-legacy" "file") | relURL }}"></script>
<script nomodule src="{{ print "/assets/" (index $jsManifest "js/main-legacy.js" "file") | relURL }}"></script>
<script type="module" src="{{ print "/assets/" (index $jsManifest "js/main.js" "file") | relURL }}"></script>
Expand Down
Loading

0 comments on commit 89a7645

Please sign in to comment.