File tree Expand file tree Collapse file tree 5 files changed +219
-144
lines changed Expand file tree Collapse file tree 5 files changed +219
-144
lines changed Original file line number Diff line number Diff line change @@ -15,6 +15,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
15
15
16
16
- Only remove duplicate Tailwind classes ([ #277 ] ( https://github.com/tailwindlabs/prettier-plugin-tailwindcss/pull/277 ) )
17
17
- Make sure escapes in classes are preserved in string literals ([ #286 ] ( https://github.com/tailwindlabs/prettier-plugin-tailwindcss/pull/286 ) )
18
+ - Improve detection of string concatenation ([ #288 ] ( https://github.com/tailwindlabs/prettier-plugin-tailwindcss/pull/288 ) )
18
19
19
20
## [ 0.6.1] - 2024-05-31
20
21
Original file line number Diff line number Diff line change @@ -44,12 +44,12 @@ function patchCjsInterop() {
44
44
45
45
// Prepend `createRequire`
46
46
let code = [
47
- `import {createRequire} from 'module'` ,
47
+ `import {createRequire as __global__createRequire__ } from 'module'` ,
48
48
`import {dirname as __global__dirname__} from 'path'` ,
49
49
`import {fileURLToPath} from 'url'` ,
50
50
51
51
// CJS interop fixes
52
- `const require=createRequire (import.meta.url)` ,
52
+ `const require=__global__createRequire__ (import.meta.url)` ,
53
53
`const __filename=fileURLToPath(import.meta.url)` ,
54
54
`const __dirname=__global__dirname__(__filename)` ,
55
55
]
You can’t perform that action at this time.
0 commit comments