refactor(config): switch configuration files to CommonJS module syntax

- Updated jest.config.js, postcss.config.js, and tailwind.config.js to use CommonJS module.exports syntax for compatibility with Node.js environments.
This commit is contained in:
chamiakJ
2025-06-21 19:09:30 +05:30
parent 7a7eeefe3b
commit ddb3e2bc17
3 changed files with 3 additions and 3 deletions

View File

@@ -1,4 +1,4 @@
export default {
module.exports = {
setupFilesAfterEnv: ['<rootDir>/src/setupTests.ts'],
moduleNameMapper: {
'^@/(.*)$': '<rootDir>/src/$1',

View File

@@ -1,4 +1,4 @@
export default {
module.exports = {
plugins: {
tailwindcss: {},
autoprefixer: {},

View File

@@ -1,5 +1,5 @@
/** @type {import('tailwindcss').Config} */
export default {
module.exports = {
content: ['./src/**/*.{js,jsx,ts,tsx}'],
theme: {
extend: {},