Skip to content

Commit c012f15

Browse files
Add change log
1 parent c3dae0b commit c012f15

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

CHANGELOG.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1010
### Added
1111

1212
- Add support for `tailwindcss/colors.js`, `tailwindcss/defaultTheme.js`, and `tailwindcss/plugin.js` exports ([#14595](https://github.com/tailwindlabs/tailwindcss/pull/14595))
13-
- Support `keyframes` in JS config file themes ([14594](https://github.com/tailwindlabs/tailwindcss/pull/14594))
13+
- Support `keyframes` in JS config file themes ([#14594](https://github.com/tailwindlabs/tailwindcss/pull/14594))
14+
- _Experimental_: The upgrade tool now automatically discovers your JavaScript config ([#14597](https://github.com/tailwindlabs/tailwindcss/pull/14597))
1415

1516
### Fixed
1617

packages/@tailwindcss-upgrade/src/template/prepareConfig.ts renamed to packages/@tailwindcss-upgrade/src/template/prepare-config.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import { migratePrefix } from './codemods/prefix'
1313
const __filename = fileURLToPath(import.meta.url)
1414
const __dirname = dirname(__filename)
1515

16-
let css = String.raw
16+
const css = String.raw
1717

1818
export async function prepareConfig(
1919
configPath: string | null,
@@ -36,6 +36,7 @@ export async function prepareConfig(
3636
let fullConfigPath = path.resolve(options.base, configPath)
3737
let fullFilePath = path.resolve(__dirname)
3838
let relative = path.relative(fullFilePath, fullConfigPath)
39+
3940
// If the path points to a file in the same directory, `path.relative` will
4041
// remove the leading `./` and we need to add it back in order to still
4142
// consider the path relative

packages/tailwindcss/src/at-import.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { compile, type Config } from './index'
44
import plugin from './plugin'
55
import { optimizeCss } from './test-utils/run'
66

7-
let css = String.raw
7+
const css = String.raw
88

99
async function run(
1010
css: string,

0 commit comments

Comments
 (0)