commit 8090d2f1f09b211e66526c5ef701962ce07a0a8a
parent 6b291c6dcda98c9b7c3561b23d7af91c0376c84a
Author: Sebastian <sebasjm@gmail.com>
Date: Mon, 23 Dec 2024 17:19:51 -0300
fix deprecated require function
Diffstat:
4 files changed, 18 insertions(+), 4 deletions(-)
diff --git a/packages/aml-backoffice-ui/tailwind.config.js b/packages/aml-backoffice-ui/tailwind.config.js
@@ -1,3 +1,6 @@
+import { default as tw_typo } from '@tailwindcss/typography';
+import { default as tw_form } from '@tailwindcss/forms';
+
/** @type {import('tailwindcss').Config} */
export default {
content: {
@@ -10,5 +13,5 @@ export default {
theme: {
extend: {},
},
- plugins: [require("@tailwindcss/typography"), require("@tailwindcss/forms")],
+ plugins: [tw_typo, tw_form],
};
diff --git a/packages/bank-ui/tailwind.config.js b/packages/bank-ui/tailwind.config.js
@@ -13,6 +13,11 @@
You should have received a copy of the GNU General Public License along with
GNU Taler; see the file COPYING. If not, see <http://www.gnu.org/licenses/>
*/
+import { default as tw_typo } from '@tailwindcss/typography';
+import { default as tw_form } from '@tailwindcss/forms';
+
+
+
export default {
content: {
relative: true,
@@ -24,5 +29,5 @@ export default {
theme: {
extend: {},
},
- plugins: [require("@tailwindcss/typography"), require("@tailwindcss/forms")],
+ plugins: [tw_typo, tw_form],
};
diff --git a/packages/challenger-ui/tailwind.config.js b/packages/challenger-ui/tailwind.config.js
@@ -13,6 +13,9 @@
You should have received a copy of the GNU General Public License along with
GNU Taler; see the file COPYING. If not, see <http://www.gnu.org/licenses/>
*/
+import { default as tw_typo } from '@tailwindcss/typography';
+import { default as tw_form } from '@tailwindcss/forms';
+
export default {
content: {
relative: true,
@@ -24,5 +27,5 @@ export default {
theme: {
extend: {},
},
- plugins: [require("@tailwindcss/typography"), require("@tailwindcss/forms")],
+ plugins: [tw_typo, tw_form],
};
diff --git a/packages/kyc-ui/tailwind.config.js b/packages/kyc-ui/tailwind.config.js
@@ -13,6 +13,9 @@
You should have received a copy of the GNU General Public License along with
GNU Taler; see the file COPYING. If not, see <http://www.gnu.org/licenses/>
*/
+import { default as tw_typo } from '@tailwindcss/typography';
+import { default as tw_form } from '@tailwindcss/forms';
+
export default {
content: {
relative: true,
@@ -24,5 +27,5 @@ export default {
theme: {
extend: {},
},
- plugins: [require("@tailwindcss/typography"), require("@tailwindcss/forms")],
+ plugins: [tw_typo, tw_form],
};