chore: importConfig and importWithoutClientFiles (#5701)
This commit is contained in:
@@ -2,7 +2,7 @@ import type { Page } from '@playwright/test'
|
||||
|
||||
import { expect, test } from '@playwright/test'
|
||||
import path from 'path'
|
||||
import { getFileByPath } from 'payload/uploads'
|
||||
import { getFileByPath } from 'payload/node'
|
||||
import { fileURLToPath } from 'url'
|
||||
|
||||
import type { Page as PayloadPage } from './payload-types.js'
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import type { Payload } from 'payload'
|
||||
|
||||
import path from 'path'
|
||||
import { getFileByPath } from 'payload/uploads'
|
||||
import { getFileByPath } from 'payload/node'
|
||||
import { fileURLToPath } from 'url'
|
||||
|
||||
import { initPayloadInt } from '../helpers/initPayloadInt.js'
|
||||
|
||||
@@ -2,7 +2,7 @@ import type { Payload } from 'payload'
|
||||
import type { PayloadRequest } from 'payload/types'
|
||||
|
||||
import path from 'path'
|
||||
import { getFileByPath } from 'payload/uploads'
|
||||
import { getFileByPath } from 'payload/node'
|
||||
|
||||
import { mediaSlug } from '../shared.js'
|
||||
|
||||
|
||||
Reference in New Issue
Block a user