Skip to content

Commit

Permalink
fix: unstyled config not working without rtl config
Browse files Browse the repository at this point in the history
  • Loading branch information
saadeghi committed Jun 16, 2021
1 parent 711614f commit 82089df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.js
Expand Up @@ -33,7 +33,7 @@ const mainFunction = ({ addBase, addComponents, addUtilities, config }) => {
// inject components
// because rollupjs doesn't supprt dynamic require
let file = styled
if (config('daisyui.styled') == false && config('daisyui.rtl') == false) {
if (config('daisyui.styled') == false && config('daisyui.rtl') != true) {
diasyuiIncludedItems.push('unstyled components')
file = unstyled
} else if (config('daisyui.styled') == false && config('daisyui.rtl') == true) {
Expand Down

0 comments on commit 82089df

Please sign in to comment.