Some checks are pending
E2E / Playwright e2e (push) Waiting to run
- Added Playwright as a dependency for end-to-end testing, including necessary scripts in package.json. - Created a Playwright configuration file to define test settings and browser options. - Implemented a new GitHub Actions workflow for automated end-to-end testing on push and pull request events. - Updated .gitignore to exclude Playwright test results and reports. - Added initial end-to-end tests for mail functionalities, including composing, sending, and searching messages.
27 lines
575 B
JavaScript
27 lines
575 B
JavaScript
/*
|
|
* Copyright (c) 2026 Eliott Guillaumin
|
|
* All rights reserved.
|
|
*/
|
|
import path from "node:path"
|
|
import { fileURLToPath } from "node:url"
|
|
|
|
/** @type {import('next').NextConfig} */
|
|
const projectRoot = path.dirname(fileURLToPath(import.meta.url))
|
|
|
|
const nextConfig = {
|
|
output: "standalone",
|
|
outputFileTracingRoot: projectRoot,
|
|
turbopack: {
|
|
root: projectRoot,
|
|
},
|
|
allowedDevOrigins: ['192.168.0.20', '127.0.0.1', 'localhost', '100.120.4.66'],
|
|
typescript: {
|
|
ignoreBuildErrors: true,
|
|
},
|
|
images: {
|
|
unoptimized: true,
|
|
},
|
|
}
|
|
|
|
export default nextConfig
|