index.test.ts — tailwindcss Source File
Architecture documentation for index.test.ts, a typescript file in the tailwindcss codebase. 4 imports, 0 dependents.
Entity Profile
Dependency Diagram
graph LR e82c7494_b96d_721b_f4f4_1590fdd897dd["index.test.ts"] 9ffd1dda_9675_c514_373d_0f4ab4648249["utils.ts"] e82c7494_b96d_721b_f4f4_1590fdd897dd --> 9ffd1dda_9675_c514_373d_0f4ab4648249 b7531519_9055_fbfa_5f69_ebc8586b0422["candidate"] e82c7494_b96d_721b_f4f4_1590fdd897dd --> b7531519_9055_fbfa_5f69_ebc8586b0422 f11e3be9_51f8_140b_68b0_f58ddd082595["test"] e82c7494_b96d_721b_f4f4_1590fdd897dd --> f11e3be9_51f8_140b_68b0_f58ddd082595 2a7660a5_3e09_bd74_37f0_e4e54bc64ce5["node:path"] e82c7494_b96d_721b_f4f4_1590fdd897dd --> 2a7660a5_3e09_bd74_37f0_e4e54bc64ce5 style e82c7494_b96d_721b_f4f4_1590fdd897dd fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
import path from 'node:path'
import { candidate, css, html, js, json, test, ts, yaml } from '../utils'
test(
'production build (string)',
{
fs: {
'package.json': json`{}`,
'pnpm-workspace.yaml': yaml`
#
packages:
- project-a
`,
'project-a/package.json': json`
{
"dependencies": {
"postcss": "^8",
"postcss-cli": "^10",
"tailwindcss": "workspace:^",
"@tailwindcss/postcss": "workspace:^"
}
}
`,
'project-a/postcss.config.js': js`
module.exports = {
plugins: {
'@tailwindcss/postcss': {},
},
}
`,
'project-a/index.html': html`
<div
class="underline 2xl:font-bold hocus:underline inverted:flex"
></div>
`,
'project-a/plugin.js': js`
module.exports = function ({ addVariant }) {
addVariant('inverted', '@media (inverted-colors: inverted)')
addVariant('hocus', ['&:focus', '&:hover'])
}
`,
'project-a/tailwind.config.js': js`
module.exports = {
content: ['../project-b/src/**/*.js'],
}
`,
'project-a/src/index.css': css`
@import 'tailwindcss/utilities';
@config '../tailwind.config.js';
@source '../../project-b/src/**/*.html';
@plugin '../plugin.js';
`,
'project-a/src/index.js': js`
const className = "content-['a/src/index.js']"
module.exports = { className }
`,
'project-b/src/index.html': html`
<div class="flex" />
`,
'project-b/src/index.js': js`
// ... (834 more lines)
Domain
Source
Frequently Asked Questions
What does index.test.ts do?
index.test.ts is a source file in the tailwindcss codebase, written in typescript. It belongs to the OxideEngine domain.
What does index.test.ts depend on?
index.test.ts imports 4 module(s): candidate, node:path, test, utils.ts.
Where is index.test.ts in the architecture?
index.test.ts is located at integrations/postcss/index.test.ts (domain: OxideEngine, directory: integrations/postcss).
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free