We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cdebb4a commit 45b5dc0Copy full SHA for 45b5dc0
src/assets.ts
@@ -23,9 +23,11 @@ export function setupPublicAssetStrategy(options: ModuleOptions['assets'] = {})
23
const renderedScriptSrc = new Map<string, string>()
24
25
// 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
- }))
+ const storage = createStorage({
+ driver: fsDriver({
+ base: 'node_modules/.cache/nuxt/scripts',
29
+ }),
30
+ })
31
32
function normalizeScriptData(src: string): string {
33
if (hasProtocol(src, { acceptRelative: true })) {
0 commit comments