File tree Expand file tree Collapse file tree 2 files changed +2
-5
lines changed
packages/tailwindcss-patch/src Expand file tree Collapse file tree 2 files changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -4,9 +4,7 @@ import type { Rule } from 'postcss'
4
4
import { requireResolve } from './utils'
5
5
6
6
export function getTailwindcssEntry ( basedir : string = process . cwd ( ) ) {
7
- return requireResolve ( 'tailwindcss' , {
8
- basedir
9
- } )
7
+ return requireResolve ( 'tailwindcss' )
10
8
}
11
9
12
10
export function getContexts ( basedir ?: string ) {
Original file line number Diff line number Diff line change @@ -12,8 +12,7 @@ export function getInstalledPkgJsonPath(options: PatchOptions = {}) {
12
12
try {
13
13
// const cwd = process.cwd()
14
14
const tmpJsonPath = requireResolve ( `tailwindcss/package.json` , {
15
- paths : options . paths ,
16
- basedir : options . basedir ?? process . cwd ( )
15
+ paths : options . paths
17
16
} )
18
17
19
18
return tmpJsonPath
You can’t perform that action at this time.
0 commit comments