Update package version import to allow for tree-shaking (#5629)
This commit is contained in:
parent
8004917618
commit
2fb33ee578
1 changed files with 2 additions and 2 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue