Skip to content
This repository was archived by the owner on Feb 21, 2025. It is now read-only.

Commit c10c4db

Browse files
committed
Migrate to modules
1 parent 997e78a commit c10c4db

File tree

2 files changed

+7
-6
lines changed

2 files changed

+7
-6
lines changed

stubs/default/postcss.config.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
module.exports = {
1+
export default {
22
plugins: {
33
tailwindcss: {},
44
autoprefixer: {},
55
},
6-
};
6+
};

stubs/default/tailwind.config.js

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
1-
const defaultTheme = require('tailwindcss/defaultTheme');
1+
import defaultTheme from 'tailwindcss/defaultTheme';
2+
import forms from '@tailwindcss/forms';
23

34
/** @type {import('tailwindcss').Config} */
4-
module.exports = {
5+
export default {
56
content: [
67
'./vendor/laravel/framework/src/Illuminate/Pagination/resources/views/*.blade.php',
78
'./storage/framework/views/*.php',
@@ -16,5 +17,5 @@ module.exports = {
1617
},
1718
},
1819

19-
plugins: [require('@tailwindcss/forms')],
20-
};
20+
plugins: [forms],
21+
};

0 commit comments

Comments
 (0)