10000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 006abfc commit 8b10b04Copy full SHA for 8b10b04
plugin.js
@@ -1,6 +1,6 @@
1
-const plugin = require('tailwindcss/plugin')
2
-const defaultTheme = require('tailwindcss/defaultTheme');
3
-const colors = require('tailwindcss/colors');
+import plugin from 'tailwindcss/plugin';
+import defaultTheme from 'tailwindcss/defaultTheme';
+import colors from 'tailwindcss/colors';
4
const { spacing, borderWidth, borderRadius } = defaultTheme;
5
6
// https://github.com/tailwindlabs/tailwindcss/discussions/9336
@@ -28,7 +28,7 @@ const svgToTinyDataUri = (() => {
28
return svgToTinyDataUri;
29
})();
30
31
-module.exports = plugin(
+export default plugin(
32
function({ addBase, addComponents, theme }) {
33
addBase({
34
[[
0 commit comments