Skip to content

Commit

Permalink
fix: compatibility with bridge
Browse files Browse the repository at this point in the history
  • Loading branch information
ricardogobbosouza committed Oct 28, 2022
1 parent ddc40da commit d994b99
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/module.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { existsSync } from 'fs'
import { defineNuxtModule, addServerHandler, createResolver, useLogger, isNuxt2, findPath, addTemplate } from '@nuxt/kit'
import { name, version } from '../package.json'
import { Rule } from './types'
import type { Rule } from './types'

export type ModuleOptions = {
configPath: string,
Expand All @@ -15,7 +15,10 @@ export default defineNuxtModule<ModuleOptions>({
meta: {
name,
version,
configKey: 'robots'
configKey: 'robots',
compatibility: {
bridge: true
}
},
defaults: {
configPath: 'robots.config',
Expand Down

0 comments on commit d994b99

Please sign in to comment.