Skip to content

Commit 599f128

Browse files
committed
Fix build
1 parent 20d69e3 commit 599f128

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

pnpm-lock.yaml

+3-3
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/nuxt.ts

+4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
import type { ExternalPluginOptionsFolder, ExternalPluginOptionsFunction } from './types'
22
import { addVitePlugin, defineNuxtModule } from '@nuxt/kit'
3+
4+
// Workaround for:
5+
// src/nuxt.ts(5,1): error TS2742: The inferred type of 'default' cannot be named without a reference to '.pnpm/@nuxt+schema@3.0.0_rollup@2.79.0/node_modules/@nuxt/schema'. This is likely not portable. A type annotation is necessary.
6+
import type { } from '@nuxt/schema'
37
import { directiveTransform } from './directive-transform'
48
import { ExternalFluentPlugin, SFCFluentPlugin, type SFCPluginOptions } from './vite'
59

0 commit comments

Comments
 (0)