Skip to content

Commit

Permalink
Fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
Demivan committed Sep 12, 2024
1 parent 20d69e3 commit 599f128
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions src/nuxt.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
import type { ExternalPluginOptionsFolder, ExternalPluginOptionsFunction } from './types'
import { addVitePlugin, defineNuxtModule } from '@nuxt/kit'

// Workaround for:
// 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.
import type { } from '@nuxt/schema'
import { directiveTransform } from './directive-transform'
import { ExternalFluentPlugin, SFCFluentPlugin, type SFCPluginOptions } from './vite'

Expand Down

0 comments on commit 599f128

Please sign in to comment.