Restore UI functionalities and clean up dependencies

This commit is contained in:
streaper2
2026-05-08 08:32:58 +02:00
parent 8946955f76
commit 0895b7d5bc
26751 changed files with 4207476 additions and 158 deletions

View File

@@ -0,0 +1,15 @@
// imports polyfill from `@next/polyfill-module` after build.
import '../build/polyfills/polyfill-module';
// Only set up devtools for the dev server.
if (process.env.__NEXT_DEV_SERVER) {
require('../next-devtools/userspace/app/app-dev-overlay-setup');
}
// Start listening for the instant navigation test cookie. The test framework
// (e.g. Playwright) sets/clears this cookie to control the navigation lock.
// Browser-only.
if (process.env.__NEXT_EXPOSE_TESTING_API && typeof window !== 'undefined') {
const { startListeningForInstantNavigationCookie } = require('./components/segment-cache/navigation-testing-lock');
startListeningForInstantNavigationCookie();
}
//# sourceMappingURL=app-globals.js.map