From e0dd668a89d124893dc7dbed2b28390d8fb3d3ab Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9s=20Alvarez=20Sordo?= Date: Mon, 20 Mar 2023 14:14:33 +0100 Subject: [PATCH] feat(packages/sui-bundler): update tailwindcss call --- packages/sui-bundler/shared/module-rules-sass.js | 2 +- packages/sui-bundler/webpack.config.dev.js | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-) 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 })