Skip to content

Commit 45b5dc0

Browse files
committed
chore: fix tests
1 parent cdebb4a commit 45b5dc0

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

src/assets.ts

+5-3
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,11 @@ export function setupPublicAssetStrategy(options: ModuleOptions['assets'] = {})
2323
const renderedScriptSrc = new Map<string, string>()
2424

2525
// TODO: refactor to use nitro storage when it can be cached between builds
26-
const storage = createStorage(fsDriver({
27-
base: 'node_modules/.cache/nuxt/scripts',
28-
}))
26+
const storage = createStorage({
27+
driver: fsDriver({
28+
base: 'node_modules/.cache/nuxt/scripts',
29+
}),
30+
})
2931

3032
function normalizeScriptData(src: string): string {
3133
if (hasProtocol(src, { acceptRelative: true })) {

0 commit comments

Comments
 (0)