Files
app__bitwarden-clients/apps/web/tailwind.config.js
Oscar Hinton e20a6533ea [PAM-264] Move shared PAM code to bit-pam and bit-pam-components (#24417)
* [PAM-121] Move shared PAM code to bit-pam and bit-pam-components

Creates two licensed libs owned by team-pam-dev and moves the shared PAM
code into them from bit-web so other clients can consume it:

- bitwarden_license/bit-pam (@bitwarden/bit-pam): framework-free
  abstractions, helpers, date formatting and SDK services, usable from the
  browser background. ESLint keeps Angular and the UI libraries out of it.
- bitwarden_license/bit-pam-components (@bitwarden/bit-pam-components): the
  shared components, pipes, confirm dialogs and Angular-injected services.

Each lib exposes a single barrel. Split out of #22430 to reduce its size;
no behavioural changes.

* [PAM-121] Run Chromatic on bit-pam-components changes

* [PAM-121] Run prettier
2026-11-04 16:06:27 +01:00

18 lines
662 B
JavaScript

/* eslint-disable no-undef, @typescript-eslint/no-var-requires */
const path = require("path");
const config = require("../../libs/components/tailwind.config.base");
// Add web-specific paths here. Shared libs should go in tailwind.config.base.js instead
const webContent = [
path.resolve(__dirname, "./src/**/*.{html,ts,mdx}"),
path.resolve(__dirname, "../../bitwarden_license/bit-web/src/**/*.{html,ts,mdx}"),
path.resolve(__dirname, "../../bitwarden_license/bit-pam-components/src/**/*.{html,ts}"),
];
config.content = [...config.content, ...webContent];
config.webContent = webContent;
config.corePlugins.preflight = true;
module.exports = config;