Skip to content

Commit

Permalink
Revert tailwind ESM change
Browse files Browse the repository at this point in the history
  • Loading branch information
mrtimbrook committed Feb 23, 2024
1 parent adaf0d4 commit a78427d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/resolveTailwindConfig.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ const fs = require('fs');

try {
const resolveConfig = require('tailwindcss/resolveConfig');
const config = import(process.env.CONFIGPATH);
const config = require(process.env.CONFIGPATH);
const tempDir = './tmp';
const outputPath = `${tempDir}/tailwind.config.php`;
const fullConfig = resolveConfig(config);
Expand Down

0 comments on commit a78427d

Please sign in to comment.