mirror of
https://github.com/tailwindlabs/tailwindcss.git
synced 2025-12-08 21:36:08 +00:00
Update package version import to allow for tree-shaking (#5629)
This commit is contained in:
parent
8004917618
commit
2fb33ee578
@ -17,7 +17,7 @@ import {
|
||||
transformAllClasses,
|
||||
transformLastClasses,
|
||||
} from './util/pluginUtils'
|
||||
import packageJson from '../package.json'
|
||||
import { version as tailwindVersion } from '../package.json'
|
||||
import log from './util/log'
|
||||
|
||||
export default {
|
||||
@ -361,7 +361,7 @@ export default {
|
||||
|
||||
addBase([
|
||||
postcss.comment({
|
||||
text: `! tailwindcss v${packageJson.version} | MIT License | https://tailwindcss.com`,
|
||||
text: `! tailwindcss v${tailwindVersion} | MIT License | https://tailwindcss.com`,
|
||||
}),
|
||||
...preflightStyles.nodes,
|
||||
])
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user