Skip to content

Commit

Permalink
Apply PR feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
philipp-spiess committed Jul 29, 2024
1 parent 11bf660 commit a92ac09
Show file tree
Hide file tree
Showing 9 changed files with 2 additions and 86 deletions.
2 changes: 0 additions & 2 deletions packages/@tailwindcss-postcss/src/index.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -179,8 +179,6 @@ describe('plugins', () => {
{ from: `${__dirname}/fixtures/another-project/input.css` },
)

// TODO: Figure out why `root.walkAtRules` prevents our path fix plugin
// from running.
expect(result.css.trim()).toMatchInlineSnapshot(`
".underline {
text-decoration-line: underline;
Expand Down
3 changes: 1 addition & 2 deletions packages/@tailwindcss-postcss/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,7 @@ function tailwindcss(opts: PluginOptions = {}): AcceptedPlugin {
}
})

let hasApply = false
let hasTailwind = false
let hasApply: boolean, hasTailwind: boolean

return {
postcssPlugin: '@tailwindcss/postcss',
Expand Down
40 changes: 0 additions & 40 deletions packages/internal-postcss-fix-relative-paths/README.md

This file was deleted.

1 change: 0 additions & 1 deletion playgrounds/vite/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
"dependencies": {
"@tailwindcss/vite": "workspace:^",
"@vitejs/plugin-react": "^4.3.0",
"autoprefixer": "^10.4.19",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"tailwindcss": "workspace:^"
Expand Down
5 changes: 0 additions & 5 deletions playgrounds/vite/postcss.config.js

This file was deleted.

2 changes: 1 addition & 1 deletion playgrounds/vite/src/app.css
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
@import 'tailwindcss';
@import './foo/bar.css';
@plugin "./plugin.js";
1 change: 0 additions & 1 deletion playgrounds/vite/src/foo/bar.css

This file was deleted.

3 changes: 0 additions & 3 deletions playgrounds/vite/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,5 @@ import react from '@vitejs/plugin-react'
import { defineConfig } from 'vite'

export default defineConfig({
css: {
postcss: '.',
},
plugins: [react(), tailwindcss()],
})
31 changes: 0 additions & 31 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit a92ac09

Please sign in to comment.