mirror of
https://github.com/hanzoai/tailwindcss.git
synced 2026-09-24 17:03:14 +00:00
Drop warning from browser build (#18732)
Co-authored-by: Jordan Pittman <[email protected]>
This commit is contained in:
committed by
GitHub
co-authored by
Jordan Pittman
parent
da6cb85df1
commit
e72396834a
+3
-1
@@ -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.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user