1
0
mirror of https://github.com/bitwarden/browser synced 2026-02-28 02:23:25 +00:00

Deprecated SharedModules (#19260)

This commit is contained in:
Oscar Hinton
2026-02-27 11:45:06 +01:00
committed by GitHub
parent dc772c22f7
commit 59c0b28816
2 changed files with 9 additions and 4 deletions

View File

@@ -12,6 +12,12 @@ import { IconModule } from "@bitwarden/components";
import { AvatarComponent } from "../components/avatar.component";
import { ServicesModule } from "../services/services.module";
/**
* @deprecated Please directly import the relevant directive/pipe/component.
*
* This module is overly large and adds many unrelated modules to your dependency tree.
* https://angular.dev/guide/ngmodules/overview recommends not using `NgModule`s for new code.
*/
@NgModule({
imports: [
CommonModule,

View File

@@ -35,11 +35,10 @@ import {
} from "@bitwarden/components";
/**
* This NgModule should contain the most basic shared directives, pipes, and components. They
* should be widely used by other modules to be considered for adding to this module. If in doubt
* do not add to this module.
* @deprecated Please directly import the relevant directive/pipe/component.
*
* See: https://angular.io/guide/module-types#shared-ngmodules
* This module is overly large and adds many unrelated modules to your dependency tree.
* https://angular.dev/guide/ngmodules/overview recommends not using `NgModule`s for new code.
*/
@NgModule({
imports: [