Skip to content

Commit

Permalink
fix: bump enhanced-resolve for upstream fix
Browse files Browse the repository at this point in the history
Otherwise, the following is broken:
```javascript
module.exports = require('@acme/ui/tailwind.config.cjs')
```

where `@acme/ui` has:
```json
"exports": {
  "./*.cjs": "./*.cjs",
},
```

and requires the following workaround
```json
"exports": {
  "./tailwind.config.cjs": "./tailwind.config.cjs",
  "./*.cjs": "./*.cjs",
},
```

bumping the package fixes this.
  • Loading branch information
llllvvuu committed Feb 14, 2024
1 parent 8d22df1 commit a1e2e40
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
10 changes: 5 additions & 5 deletions package-lock.json

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

2 changes: 1 addition & 1 deletion packages/tailwindcss-language-server/package.json
Expand Up @@ -51,7 +51,7 @@
"deepmerge": "4.2.2",
"dlv": "1.1.3",
"dset": "3.1.2",
"enhanced-resolve-301": "0.0.1",
"enhanced-resolve": "^5.15.0",
"esbuild": "^0.19.5",
"fast-glob": "3.2.4",
"find-up": "5.0.0",
Expand Down
@@ -1,5 +1,5 @@
import * as fs from 'fs'
import { CachedInputFileSystem, ResolverFactory, Resolver, ResolveOptions } from 'enhanced-resolve-301'
import { CachedInputFileSystem, ResolverFactory, Resolver, ResolveOptions } from 'enhanced-resolve'
import { equal } from 'tailwindcss-language-service/src/util/array'

let pnpApi: any
Expand Down

0 comments on commit a1e2e40

Please sign in to comment.