Keep institutional contact test independent of CSS module loading in Node CI
tests / ci (push) Waiting to run

This commit is contained in:
2026-11-13 15:09:08 +02:00
parent d325b72fad
commit 0f79d0d54c
@@ -18,6 +18,7 @@ function load(file, page) {
const module = { exports: {} };
const aliases = new Proxy({ default: Empty }, { get: (target, name) => name in target ? target[name] : Empty });
compileFunction(code, ['require', 'module', 'exports'])((name) => {
if (name.endsWith('.css')) return {};
if (name === 'lucide-react') return aliases;
if (name === '@inertiajs/react') return {
Link: 'a', Head: Empty, usePage: () => page,