Skip to content

Commit

Permalink
revert playgournd/tailwind to CJS
Browse files Browse the repository at this point in the history
  • Loading branch information
fi3ework committed May 8, 2023
1 parent a632322 commit 8d47b4c
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 14 deletions.
1 change: 1 addition & 0 deletions .eslintrc.cjs
Expand Up @@ -190,6 +190,7 @@ module.exports = defineConfig({
'playground/**/*dep*/**',
'playground/resolve/browser-module-field2/index.web.js',
'playground/resolve/browser-field/**',
'playground/tailwind/**', // blocked by https://github.com/postcss/postcss-load-config/issues/239
],
rules: {
'import/no-commonjs': 'error',
Expand Down
1 change: 0 additions & 1 deletion playground/tailwind/package.json
Expand Up @@ -2,7 +2,6 @@
"name": "@vitejs/test-tailwind",
"private": true,
"version": "0.0.0",
"type": "module",
"scripts": {
"dev": "vite",
"build": "vite build",
Expand Down
12 changes: 0 additions & 12 deletions playground/tailwind/postcss.config.js

This file was deleted.

7 changes: 7 additions & 0 deletions playground/tailwind/postcss.config.ts
@@ -0,0 +1,7 @@
// postcss.config.ts
module.exports = {
plugins: {
tailwindcss: { config: __dirname + '/tailwind.config.js' },
autoprefixer: {},
},
}
2 changes: 1 addition & 1 deletion playground/tailwind/tailwind.config.js
@@ -1,6 +1,6 @@
/** @type {import('tailwindcss').Config} */

export default {
module.exports = {
content: [
// Before editing this section, make sure no paths are matching with `/src/App.vue`
// Look https://github.com/vitejs/vite/pull/6959 for more details
Expand Down

0 comments on commit 8d47b4c

Please sign in to comment.