Skip to content

Commit 7cf5772

Browse files
committed
hotfix: 빌드 이슈 해결
1 parent c216f77 commit 7cf5772

File tree

3 files changed

+7
-9
lines changed

3 files changed

+7
-9
lines changed

packages/tailwind-config/tailwind.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/** @type {import('tailwindcss').Config} */
2-
export default {
2+
module.exports = {
33
plugins: [require('tailwindcss-animate'), require('@tailwindcss/typography')],
44
theme: {
55
extend: {
Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
1-
const baseConfig = require('@extension/tailwindcss-config');
1+
import baseConfig from '@extension/tailwindcss-config';
22

33
/** @type {import('tailwindcss').Config} */
4-
module.exports = {
4+
export default {
55
...baseConfig,
6-
content: ['src/**/*.{ts,tsx}'],
7-
plugins: [require('@tailwindcss/typography'), ...baseConfig.plugins],
6+
content: ['./src/**/*.{js,ts,jsx,tsx}'],
87
};

pages/popup/tailwind.config.js

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
1-
const baseConfig = require('@extension/tailwindcss-config');
1+
import baseConfig from '@extension/tailwindcss-config';
22

33
/** @type {import('tailwindcss').Config} */
4-
module.exports = {
4+
export default {
55
...baseConfig,
6-
content: ['./index.html', './src/**/*.{js,ts,jsx,tsx}'],
7-
darkMode: 'selector',
6+
content: ['index.html', './src/**/*.{js,ts,jsx,tsx}'],
87
};

0 commit comments

Comments
 (0)