mirror of
https://seed.radicle.dev/rad:z4V1sjrXqjvFdnCUbxPFqd5p4DtH5.git
synced 2026-11-13 05:00:45 +08:00
Makes explorer and desktop sibling projects, as proposed in ADR 1. This commit only moves files; paths in CI, scripts and docs are fixed in the following commits.
13 lines
538 B
TypeScript
13 lines
538 B
TypeScript
// Test adapter for configuration in Node.js environment (Playwright tests).
|
|
//
|
|
// The app reads `buildTimeConfig`, which Vite replaces at build time (via
|
|
// the `define` option) with config.util.toObject() from the "config" npm
|
|
// package. Since Vite's `define` replacement doesn't run in Node.js, this file
|
|
// provides the same configuration data by directly importing and converting
|
|
// the "config" package.
|
|
import nodeConfig from "config";
|
|
|
|
const config = nodeConfig.util.toObject() as typeof buildTimeConfig;
|
|
|
|
export default config;
|