Compare commits

...
Sign in to create a new pull request.

2 commits

Author SHA1 Message Date
Philipp Spiess
658fd0cd82 Add change log 2025-01-28 16:54:58 +01:00
Philipp Spiess
8a0b5ca263 Ensure browser package does not pollute global namespace 2025-01-28 16:54:45 +01:00
3 changed files with 5 additions and 4 deletions

View file

@ -21,6 +21,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Suggest container query variants ([#15857](https://github.com/tailwindlabs/tailwindcss/pull/15857))
- Disable bare value suggestions when not using the `--spacing` variable ([#15857](https://github.com/tailwindlabs/tailwindcss/pull/15857))
- Ensure suggested classes are properly sorted ([#15857](https://github.com/tailwindlabs/tailwindcss/pull/15857))
- Ensure that `@tailwindcss/browser` does not pollute the global namespace ([#15978](https://github.com/tailwindlabs/tailwindcss/pull/15978))
- _Upgrade_: Ensure JavaScript config files on different drives are correctly migrated ([#15927](https://github.com/tailwindlabs/tailwindcss/pull/15927))
## [4.0.0] - 2025-01-21

View file

@ -3,8 +3,8 @@
"version": "4.0.0",
"description": "A utility-first CSS framework for rapidly building custom user interfaces.",
"license": "MIT",
"main": "./dist/index.mjs",
"browser": "./dist/index.mjs",
"main": "./dist/index.global.js",
"browser": "./dist/index.global.js",
"repository": {
"type": "git",
"url": "https://github.com/tailwindlabs/tailwindcss.git",
@ -19,7 +19,7 @@
"test:ui": "playwright test"
},
"exports": {
".": "./dist/index.mjs",
".": "./dist/index.global.js",
"./package.json": "./package.json"
},
"files": [

View file

@ -1,7 +1,7 @@
import { defineConfig } from 'tsup'
export default defineConfig({
format: ['esm'],
format: ['iife'],
clean: true,
minify: true,
entry: ['src/index.ts'],