Fix document module self import (#19035)

* fix document self import

* lower SELF_IMPORTS_THRESHOLD

* Update index.js

* Update index.js
This commit is contained in:
Mads Rasmussen
2025-04-15 12:46:33 +02:00
committed by GitHub
parent e6ab1d9a6b
commit 3cd3abe5c8
6 changed files with 10 additions and 13 deletions

View File

@@ -3,7 +3,7 @@ import path from 'path';
import { createImportMap } from '../importmap/index.js';
const ILLEGAL_CORE_IMPORTS_THRESHOLD = 6;
const SELF_IMPORTS_THRESHOLD = 8;
const SELF_IMPORTS_THRESHOLD = 7;
const clientProjectRoot = path.resolve(import.meta.dirname, '../../');
const modulePrefix = '@umbraco-cms/backoffice/';