chore: implement AST parsing of next config
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
import type { CompilerOptions } from 'typescript'
|
||||
|
||||
import * as CommentJson from 'comment-json'
|
||||
import { initNext } from 'create-payload-app/commands'
|
||||
import execa from 'execa'
|
||||
import fs from 'fs'
|
||||
import path from 'path'
|
||||
@@ -9,8 +10,6 @@ import tempy from 'tempy'
|
||||
import { fileURLToPath } from 'url'
|
||||
import { promisify } from 'util'
|
||||
|
||||
import { initNext } from '../../packages/create-payload-app/src/lib/init-next.js'
|
||||
|
||||
const filename = fileURLToPath(import.meta.url)
|
||||
const dirname = path.dirname(filename)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user