Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .changeset/flat-results-warn.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"vite-plugin-page-reload": patch
"vite-plugin-shopify": patch
---

Vite 8 Support
2 changes: 1 addition & 1 deletion packages/vite-plugin-page-reload/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"typecheck": "tsc --noEmit"
},
"peerDependencies": {
"vite": "^5.0.0 || ^6.0.0 || ^7.0.0"
"vite": "^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0"
},
"dependencies": {
"picocolors": "^1.0.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/vite-plugin-shopify/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
"test": "vitest run"
},
"peerDependencies": {
"vite": ">=5.4.12 <6.0.0 || >=6.0.9 || ^7.0.0"
"vite": ">=5.4.12 <6.0.0 || >=6.0.9 <7.0.0 || ^7.0.0 || ^8.0.0"
},
"dependencies": {
"@shopify/cli-kit": "^3.88.1",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ exports[`vite-plugin-shopify > builds out .liquid files for production 1`] = `
{% elsif path == "/test/__fixtures__/frontend/entrypoints/theme.css" or path == "theme.css" %}
{{ 'theme-y6Yj_vm2.css' | asset_url | split: '?' | first | stylesheet_tag: preload: preload_stylesheet }}
{% elsif path == "/test/__fixtures__/frontend/entrypoints/theme.js" or path == "theme.js" %}
<script src="{{ 'theme-Df-cUSaP.js' | asset_url | split: '?' | first }}" type="module" crossorigin="anonymous"></script>
<script src="{{ 'theme-CZ1rkStb.js' | asset_url | split: '?' | first }}" type="module" crossorigin="anonymous"></script>
<link rel="modulepreload" href="{{ 'modulepreload-polyfill-B5Qt9EMX.js' | asset_url | split: '?' | first }}" crossorigin="anonymous">
{% endif %}
"
Expand All @@ -42,7 +42,7 @@ exports[`vite-plugin-shopify > builds out .liquid files for production with vers
{% elsif path == "/test/__fixtures__/frontend/entrypoints/theme.css" or path == "theme.css" %}
{{ 'theme-y6Yj_vm2.css' | asset_url | stylesheet_tag: preload: preload_stylesheet }}
{% elsif path == "/test/__fixtures__/frontend/entrypoints/theme.js" or path == "theme.js" %}
<script src="{{ 'theme-Df-cUSaP.js' | asset_url }}" type="module" crossorigin="anonymous"></script>
<script src="{{ 'theme-CZ1rkStb.js' | asset_url }}" type="module" crossorigin="anonymous"></script>
<link rel="modulepreload" href="{{ 'modulepreload-polyfill-B5Qt9EMX.js' | asset_url }}" crossorigin="anonymous">
{% endif %}
"
Expand All @@ -64,7 +64,7 @@ exports[`vite-plugin-shopify > builds out .liquid files for production without m
{% elsif path == "/test/__fixtures__/frontend-no-preload/entrypoints/theme.css" or path == "theme.css" %}
{{ 'theme-y6Yj_vm2.css' | asset_url | split: '?' | first | stylesheet_tag: preload: preload_stylesheet }}
{% elsif path == "/test/__fixtures__/frontend-no-preload/entrypoints/theme.js" or path == "theme.js" %}
<script src="{{ 'theme-lYmnRxhD.js' | asset_url | split: '?' | first }}" type="module" crossorigin="anonymous"></script>
<script src="{{ 'theme-BjxM7pTr.js' | asset_url | split: '?' | first }}" type="module" crossorigin="anonymous"></script>
{% endif %}
"
`;
Loading
Loading