Skip to content
This repository has been archived by the owner on Mar 20, 2024. It is now read-only.

Commit

Permalink
undo mistaken file move instead of copy
Browse files Browse the repository at this point in the history
  • Loading branch information
jacob-8 committed Mar 21, 2023
1 parent ece27e5 commit 98dc1f3
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions examples/sveltekit-vite-plugin/src/hooks.server.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
/** @type {import('@sveltejs/kit').Handle} */
export async function handle({ event, resolve }) {
const response = await resolve(event, {
transformPageChunk: ({ html }) => html.replace('%svelte-scoped-uno.global%', 'svelte_scoped_uno_global_styles'),
})
return response
}

0 comments on commit 98dc1f3

Please sign in to comment.