Skip to content

Commit

Permalink
Remove .resolve because it causes troubles with a config file
Browse files Browse the repository at this point in the history
closes #6
  • Loading branch information
Thomas committed Jul 30, 2019
1 parent c0bca33 commit 8c41153
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion util/configHandler.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import resolveConfig from 'tailwindcss/resolveConfig';
let file = require('tailwindcss/stubs/simpleConfig.stub');

try {
file = require.resolve('../../../tailwind.config');
file = require('../../../tailwind.config');
} catch (e) {}

const {theme} = resolveConfig(file);
Expand Down

0 comments on commit 8c41153

Please sign in to comment.