add version and license (#3255)
* add current version & license * generate fixtures * update changelog Co-authored-by: Adam Wathan <adam.wathan@gmail.com>
This commit is contained in:
parent
2c81a35ad8
commit
7ad9a548ef
6 changed files with 18 additions and 1 deletions
|
|
@ -7,6 +7,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||
|
||||
## [Unreleased]
|
||||
|
||||
- Add version comment to Preflight ([#3255](https://github.com/tailwindlabs/tailwindcss/pull/3255))
|
||||
- Ensure sourcemap input is deterministic when using `@apply` in Vue components ([#3356](https://github.com/tailwindlabs/tailwindcss/pull/3356))
|
||||
- Ensure placeholder opacity is consistent across browsers ([#3308](https://github.com/tailwindlabs/tailwindcss/pull/3308))
|
||||
- Add `cursor-help` by default ([#3199](https://github.com/tailwindlabs/tailwindcss/pull/3199))
|
||||
|
|
|
|||
|
|
@ -1,3 +1,5 @@
|
|||
/*! tailwindcss v2.0.2 | MIT License | https://tailwindcss.com */
|
||||
|
||||
/*! modern-normalize v1.0.0 | MIT License | https://github.com/sindresorhus/modern-normalize */
|
||||
|
||||
/*
|
||||
|
|
|
|||
|
|
@ -1,3 +1,5 @@
|
|||
/*! tailwindcss v2.0.2 | MIT License | https://tailwindcss.com */
|
||||
|
||||
/*! modern-normalize v1.0.0 | MIT License | https://github.com/sindresorhus/modern-normalize */
|
||||
|
||||
/*
|
||||
|
|
|
|||
|
|
@ -1,3 +1,5 @@
|
|||
/*! tailwindcss v2.0.2 | MIT License | https://tailwindcss.com */
|
||||
|
||||
/*! modern-normalize v1.0.0 | MIT License | https://github.com/sindresorhus/modern-normalize */
|
||||
|
||||
/*
|
||||
|
|
|
|||
|
|
@ -1,3 +1,5 @@
|
|||
/*! tailwindcss v2.0.2 | MIT License | https://tailwindcss.com */
|
||||
|
||||
/*! modern-normalize v1.0.0 | MIT License | https://github.com/sindresorhus/modern-normalize */
|
||||
|
||||
/*
|
||||
|
|
|
|||
|
|
@ -1,5 +1,6 @@
|
|||
import fs from 'fs'
|
||||
import postcss from 'postcss'
|
||||
import packageJson from '../../package.json'
|
||||
|
||||
export default function () {
|
||||
return function ({ addBase }) {
|
||||
|
|
@ -7,6 +8,13 @@ export default function () {
|
|||
fs.readFileSync(require.resolve('modern-normalize'), 'utf8')
|
||||
)
|
||||
const preflightStyles = postcss.parse(fs.readFileSync(`${__dirname}/css/preflight.css`, 'utf8'))
|
||||
addBase([...normalizeStyles.nodes, ...preflightStyles.nodes])
|
||||
|
||||
addBase([
|
||||
postcss.comment({
|
||||
text: `! tailwindcss v${packageJson.version} | MIT License | https://tailwindcss.com`,
|
||||
}),
|
||||
...normalizeStyles.nodes,
|
||||
...preflightStyles.nodes,
|
||||
])
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue