Skip to content

Commit 2d13c1c

Browse files
alan-agius4clydin
authored andcommitted
test: remove tailwind CJS E2E test workaround
This workaround is no longer needed since tailwinds now handles creating cjs configuration.
1 parent df9ce71 commit 2d13c1c

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

tests/legacy-cli/e2e/tests/build/styles/tailwind-v3-cjs.ts

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { expectFileToMatch, moveFile, writeFile } from '../../../utils/fs';
1+
import { expectFileToMatch, writeFile } from '../../../utils/fs';
22
import { installPackage } from '../../../utils/packages';
33
import { ng, silentExec } from '../../../utils/process';
44
import { updateJsonFile } from '../../../utils/project';
@@ -20,11 +20,6 @@ export default async function () {
2020
// Create configuration file
2121
await silentExec('npx', 'tailwindcss', 'init');
2222

23-
// tailwind doesn't create the config file with a cjs extension.
24-
// We need to rename it manually until
25-
// https://github.com/tailwindlabs/tailwindcss/commit/6c63f67d20c433b5c7281e9e26744038ed41ccc2 is released.
26-
await moveFile('tailwind.config.js', 'tailwind.config.cjs');
27-
2823
// Add Tailwind directives to a global style
2924
await writeFile('src/styles.css', '@tailwind base; @tailwind components;');
3025

0 commit comments

Comments
 (0)