Skip to content

Commit

Permalink
chore: missing function
Browse files Browse the repository at this point in the history
  • Loading branch information
patak-dev committed Jun 27, 2022
1 parent 5588a6d commit df9a2c2
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions playground/ssr-vue/vite.config.js
Expand Up @@ -65,6 +65,9 @@ export default defineConfig({
// Example of a plugin that injects a helper from a virtual module that can
// be used in renderBuiltUrl
(function () {
const queryRE = /\?.*$/s
const hashRE = /#.*$/s
const cleanUrl = (url) => url.replace(hashRE, '').replace(queryRE, '')
let config

const virtualId = '\0virtual:ssr-vue-built-url'
Expand Down

0 comments on commit df9a2c2

Please sign in to comment.