Skip to content

Commit 48f66dc

Browse files
Drop warning from browser build (#18732)
Co-authored-by: Jordan Pittman <[email protected]>
1 parent 6791e81 commit 48f66dc

File tree

2 files changed

+3
-7
lines changed

2 files changed

+3
-7
lines changed

CHANGELOG.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10-
- Nothing yet!
10+
### Changed
11+
12+
- Drop warning from browser build ([#18731](https://github.com/tailwindlabs/tailwindcss/issues/18731))
1113

1214
## [4.1.12] - 2025-08-13
1315

packages/@tailwindcss-browser/src/index.ts

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,6 @@ import * as tailwindcss from 'tailwindcss'
22
import * as assets from './assets'
33
import { Instrumentation } from './instrumentation'
44

5-
// Warn users about using the browser build in production as early as possible.
6-
// It can take time for the script to do its work so this must be at the top.
7-
console.warn(
8-
'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',
9-
)
10-
115
/**
126
* The type used by `<style>` tags that contain input CSS.
137
*/

0 commit comments

Comments
 (0)