remove various little backend-common references

Signed-off-by: Fredrik Adelöw <freben@gmail.com>
This commit is contained in:
Fredrik Adelöw
2024-08-28 12:09:24 +02:00
parent 4b5aa20dff
commit 0b76c700be
9 changed files with 12 additions and 15 deletions
+1 -1
View File
@@ -277,7 +277,7 @@ function createConfigForRole(dir, role, extraConfig = {}) {
restrictedSrcSyntax: [
{
message:
"`__dirname` doesn't refer to the same dir in production builds, try `resolvePackagePath()` from `@backstage/backend-common` instead.",
"`__dirname` doesn't refer to the same dir in production builds, try `resolvePackagePath()` from `@backstage/backend-plugin-api` instead.",
selector: 'Identifier[name="__dirname"]',
},
...(extraConfig.restrictedSrcSyntax ?? []),