chore(deps): update dependency nuxt to ^3.13.1 (#2946)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Daniel Roe <daniel@roe.dev>
This commit is contained in:
parent
344ec56da0
commit
dd6fab86ee
13 changed files with 1489 additions and 1837 deletions
|
@ -1,4 +1,4 @@
|
|||
import fs from 'fs-extra'
|
||||
import { lstat } from 'node:fs'
|
||||
import { createResolver, defineNuxtModule } from '@nuxt/kit'
|
||||
import { currentLocales } from '../config/i18n'
|
||||
|
||||
|
@ -53,7 +53,7 @@ export default defineNuxtModule({
|
|||
|
||||
async function isFile(path: string) {
|
||||
return new Promise<boolean>((resolve) => {
|
||||
fs.lstat(path, (err, stats) => {
|
||||
lstat(path, (err, stats) => {
|
||||
if (err)
|
||||
resolve(false)
|
||||
else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue