Drop warning from browser build (#18732)

Co-authored-by: Jordan Pittman <[email protected]>
This commit is contained in:
zhe he
2025-08-14 12:20:19 -04:00
committed by GitHub
co-authored by Jordan Pittman
parent da6cb85df1
commit e72396834a
2 changed files with 3 additions and 7 deletions
+3 -1
View File
@@ -7,7 +7,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## [Unreleased]
- Nothing yet!
### Changed
- Drop warning from browser build ([#18731](https://github.com/tailwindlabs/tailwindcss/issues/18731))
## [4.1.12] - 2025-08-13
@@ -2,12 +2,6 @@ import * as tailwindcss from 'tailwindcss'
import * as assets from './assets'
import { Instrumentation } from './instrumentation'
// Warn users about using the browser build in production as early as possible.
// It can take time for the script to do its work so this must be at the top.
console.warn(
'The browser build of Tailwind CSS should not be used in production. To use Tailwind CSS in production, use the Tailwind CLI, Vite plugin, or PostCSS plugin: https://tailwindcss.com/docs/installation',
)
/**
* The type used by `<style>` tags that contain input CSS.
*/