Skip to content

Commit

Permalink
Migrate to modules (#246)
Browse files Browse the repository at this point in the history
  • Loading branch information
timacdonald committed May 4, 2023
1 parent 4394631 commit 710429b
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 7 deletions.
2 changes: 1 addition & 1 deletion stubs/default/postcss.config.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module.exports = {
export default {
plugins: {
tailwindcss: {},
autoprefixer: {},
Expand Down
7 changes: 4 additions & 3 deletions stubs/default/tailwind.config.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
const defaultTheme = require('tailwindcss/defaultTheme');
import defaultTheme from 'tailwindcss/defaultTheme';
import forms from '@tailwindcss/forms'

/** @type {import('tailwindcss').Config} */
module.exports = {
export default {
content: [
'./vendor/laravel/framework/src/Illuminate/Pagination/resources/views/*.blade.php',
'./storage/framework/views/*.php',
Expand All @@ -16,5 +17,5 @@ module.exports = {
},
},

plugins: [require('@tailwindcss/forms')],
plugins: [forms],
};
7 changes: 4 additions & 3 deletions stubs/inertia-common/tailwind.config.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
const defaultTheme = require('tailwindcss/defaultTheme');
import defaultTheme from 'tailwindcss/defaultTheme';
import forms from '@tailwindcss/forms';

/** @type {import('tailwindcss').Config} */
module.exports = {
export default {
content: [
'./vendor/laravel/framework/src/Illuminate/Pagination/resources/views/*.blade.php',
'./storage/framework/views/*.php',
Expand All @@ -17,5 +18,5 @@ module.exports = {
},
},

plugins: [require('@tailwindcss/forms')],
plugins: [forms],
};

0 comments on commit 710429b

Please sign in to comment.