mirror of
https://github.com/elk-zone/elk.git
synced 2024-11-05 00:19:59 +00:00
fix: disable nuxt-security
on windows dev (pending nuxt 3.1.0)
This commit is contained in:
parent
e04972d5e2
commit
3b73d11fd3
1 changed files with 2 additions and 2 deletions
|
@ -1,6 +1,6 @@
|
|||
import { createResolver } from '@nuxt/kit'
|
||||
import Inspect from 'vite-plugin-inspect'
|
||||
import { isCI, isDevelopment } from 'std-env'
|
||||
import { isCI, isDevelopment, isWindows } from 'std-env'
|
||||
import { isPreview } from './config/env'
|
||||
import { i18n } from './config/i18n'
|
||||
import { pwa } from './config/pwa'
|
||||
|
@ -25,7 +25,7 @@ export default defineNuxtConfig({
|
|||
'@vue-macros/nuxt',
|
||||
'@nuxtjs/i18n',
|
||||
'@nuxtjs/color-mode',
|
||||
'nuxt-security',
|
||||
...!isDevelopment || !isWindows ? ['nuxt-security'] : [],
|
||||
'~/modules/purge-comments',
|
||||
'~/modules/setup-components',
|
||||
'~/modules/build-env',
|
||||
|
|
Loading…
Reference in a new issue