Skip to content

Commit

Permalink
feat(packages/sui-bundler): update tailwindcss call
Browse files Browse the repository at this point in the history
  • Loading branch information
andresz1 committed Oct 17, 2024
1 parent 46949d8 commit e0dd668
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion packages/sui-bundler/shared/module-rules-sass.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ module.exports = {
options: {
postcssOptions: {
plugins: [
...(isTailwindEnabled() ? [require('tailwindcss').default()] : []),
...(isTailwindEnabled() ? [require('tailwindcss')()] : []),
require('autoprefixer')({
overrideBrowserslist: config.targets
})
Expand Down
4 changes: 1 addition & 3 deletions packages/sui-bundler/webpack.config.dev.js
Original file line number Diff line number Diff line change
Expand Up @@ -104,9 +104,7 @@ const webpackConfig = {
options: {
postcssOptions: {
plugins: [
...(isTailwindEnabled()
? [require('tailwindcss').default()]
: []),
...(isTailwindEnabled() ? [require('tailwindcss')()] : []),
require('autoprefixer')({
overrideBrowserslist: config.targets
})
Expand Down

0 comments on commit e0dd668

Please sign in to comment.