chore: importConfig and importWithoutClientFiles (#5701)

This commit is contained in:
Elliot DeNolf
2024-04-05 16:49:20 -04:00
committed by GitHub
parent 136545d1fd
commit 2412134073
18 changed files with 79 additions and 18 deletions

View File

@@ -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'

View File

@@ -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'

View File

@@ -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'