Skip to content

Commit 3961b69

Browse files
committed
feat(packages/sui-bundler): update tailwindcss call
1 parent b2a4fb9 commit 3961b69

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

packages/sui-bundler/shared/module-rules-sass.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ module.exports = {
1818
options: {
1919
postcssOptions: {
2020
plugins: [
21-
...(isTailwindEnabled() ? [require('tailwindcss').default()] : []),
21+
...(isTailwindEnabled() ? [require('tailwindcss')()] : []),
2222
require('autoprefixer')({
2323
overrideBrowserslist: config.targets
2424
})

packages/sui-bundler/webpack.config.dev.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -100,9 +100,7 @@ const webpackConfig = {
100100
options: {
101101
postcssOptions: {
102102
plugins: [
103-
...(isTailwindEnabled()
104-
? [require('tailwindcss').default()]
105-
: []),
103+
...(isTailwindEnabled() ? [require('tailwindcss')()] : []),
106104
require('autoprefixer')({
107105
overrideBrowserslist: config.targets
108106
})

0 commit comments

Comments
 (0)