// SPDX-License-Identifier: LicenseRef-ConusAI-Template-1.0 // The boundary gate. Its rules are generated from the folder tree by // scripts/dep-rules.cjs, so adding modules// adds its rules. "use strict" const { buildForbidden, listCustomScreens, listModules } = require("./scripts/dep-rules.cjs") module.exports = { forbidden: buildForbidden(listModules(__dirname), listCustomScreens(__dirname)), options: { doNotFollow: { path: "node_modules" }, // The build's output, and the route tree the Start plugin generates (it imports the router it is given to). exclude: { path: "(^|/)dist/|routeTree\\.gen\\.ts$" }, tsConfig: { fileName: "tsconfig.paths.json" }, tsPreCompilationDeps: true, enhancedResolveOptions: { exportsFields: ["exports"], conditionNames: ["import", "types", "node"] }, reporterOptions: { text: { highlightFocused: true } }, }, }