move utils out of app
This commit is contained in:
parent
df74cb16c8
commit
fab7b6718e
2
new.ts
2
new.ts
@ -1,4 +1,4 @@
|
|||||||
import { baseDir, getAllContent } from "@/app/lib/content";
|
import { baseDir, getAllContent } from "$lib/content";
|
||||||
import fs from "fs"
|
import fs from "fs"
|
||||||
|
|
||||||
const args = process.argv.slice(2)
|
const args = process.argv.slice(2)
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
import './globals.css'
|
import './globals.css'
|
||||||
import Navbar from './components/navbar'
|
import Navbar from '$components/navbar'
|
||||||
import type { Metadata } from 'next'
|
import type { Metadata } from 'next'
|
||||||
|
|
||||||
export const metadata: Metadata = {
|
export const metadata: Metadata = {
|
||||||
|
@ -20,8 +20,8 @@
|
|||||||
],
|
],
|
||||||
"paths": {
|
"paths": {
|
||||||
"@/*": ["./src/*"],
|
"@/*": ["./src/*"],
|
||||||
"$components/*": ["./src/app/components/*"],
|
"$components/*": ["./src/components/*"],
|
||||||
"$lib/*": ["./src/app/lib/*"]
|
"$lib/*": ["./src/lib/*"]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts"],
|
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts"],
|
||||||
|
Loading…
Reference in New Issue
Block a user