mirror of
https://github.com/bitwarden/clients.git
synced 2026-11-16 07:03:29 +00:00
* [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
18 lines
662 B
JavaScript
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;
|