diff --git a/packages/sui-bundler/shared/module-rules-sass.js b/packages/sui-bundler/shared/module-rules-sass.js index 8bee168ad..5379db53b 100644 --- a/packages/sui-bundler/shared/module-rules-sass.js +++ b/packages/sui-bundler/shared/module-rules-sass.js @@ -18,7 +18,7 @@ module.exports = { options: { postcssOptions: { plugins: [ - ...(isTailwindEnabled() ? [require('tailwindcss').default()] : []), + ...(isTailwindEnabled() ? [require('tailwindcss')()] : []), require('autoprefixer')({ overrideBrowserslist: config.targets }) diff --git a/packages/sui-bundler/webpack.config.dev.js b/packages/sui-bundler/webpack.config.dev.js index 08b398ca3..bcb954e58 100644 --- a/packages/sui-bundler/webpack.config.dev.js +++ b/packages/sui-bundler/webpack.config.dev.js @@ -104,9 +104,7 @@ const webpackConfig = { options: { postcssOptions: { plugins: [ - ...(isTailwindEnabled() - ? [require('tailwindcss').default()] - : []), + ...(isTailwindEnabled() ? [require('tailwindcss')()] : []), require('autoprefixer')({ overrideBrowserslist: config.targets })