mirror of
https://github.com/bitwarden/browser
synced 2026-02-28 02:23:25 +00:00
Deprecated SharedModules (#19260)
This commit is contained in:
@@ -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,
|
||||
|
||||
@@ -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: [
|
||||
|
||||
Reference in New Issue
Block a user