Skip to content

Commit

Permalink
fix: missing hash query param in load virtual conf (nuxt-modules#2212)
Browse files Browse the repository at this point in the history
  • Loading branch information
userquin authored Jul 8, 2023
1 parent 9263b39 commit 4469634
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/transform/proxy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ export const ResourceProxyPlugin = createUnplugin((options: ResourceProxyPluginO
// prettier-ignore
const code = `import { isObject, isFunction } from '@intlify/shared'
export default async function() {
const loader = await import(${toCode(withQuery(resolve(baseDir, query.target), { config: 'true' }))}).then(m => m.default || m)
const loader = await import(${toCode(withQuery(resolve(baseDir, query.target), { hash: query.hash, config: 'true' }))}).then(m => m.default || m)
const config = isFunction(loader)
? await loader()
: isObject(loader)
Expand Down

0 comments on commit 4469634

Please sign in to comment.