Преглед на файлове

enhance(dev): postcss configures

charlie преди 3 години
родител
ревизия
a19e9ff963
променени са 1 файла, в които са добавени 8 реда и са изтрити 8 реда
  1. 8 8
      postcss.config.js

+ 8 - 8
postcss.config.js

@@ -1,8 +1,8 @@
-module.exports = (ctx) => ({
-  plugins: [
-    require('postcss-nested')({}),
-    require('postcss-import-ext-glob')({}),
-    require('postcss-import')({}),
-    require('tailwindcss')('tailwind.config.js'),
-  ],
-})
+module.exports = {
+  plugins: {
+    'postcss-import-ext-glob': {},
+    'postcss-import': {},
+    'tailwindcss/nesting': 'postcss-nested',
+    tailwindcss: {}
+  }
+}