tailwindcss 0.0.0-insiders.c64bc1f → 0.0.0-insiders.cd17ec0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +232 -1
- package/README.md +8 -4
- package/colors.js +2 -304
- package/defaultConfig.js +2 -4
- package/defaultTheme.js +2 -4
- package/lib/cli-peer-dependencies.js +4 -9
- package/lib/cli.js +681 -703
- package/lib/constants.js +15 -15
- package/lib/corePluginList.js +174 -4
- package/lib/corePlugins.js +3591 -2949
- package/lib/css/preflight.css +18 -5
- package/lib/featureFlags.js +44 -44
- package/lib/index.js +24 -25
- package/lib/lib/collapseAdjacentRules.js +33 -35
- package/lib/lib/collapseDuplicateDeclarations.js +80 -0
- package/lib/lib/defaultExtractor.js +42 -0
- package/lib/lib/detectNesting.js +34 -0
- package/lib/lib/evaluateTailwindFunctions.js +134 -155
- package/lib/lib/expandApplyAtRules.js +235 -203
- package/lib/lib/expandTailwindAtRules.js +211 -235
- package/lib/lib/generateRules.js +498 -310
- package/lib/lib/getModuleDependencies.js +36 -41
- package/lib/lib/normalizeTailwindDirectives.js +73 -58
- package/lib/lib/resolveDefaultsAtRules.js +124 -90
- package/lib/lib/setupContextUtils.js +835 -579
- package/lib/lib/setupTrackingContext.js +143 -162
- package/lib/lib/sharedState.js +36 -17
- package/lib/lib/substituteScreenAtRules.js +22 -26
- package/lib/processTailwindFeatures.js +39 -44
- package/lib/public/colors.js +329 -0
- package/lib/public/create-plugin.js +13 -0
- package/lib/public/default-config.js +14 -0
- package/lib/public/default-theme.js +14 -0
- package/lib/public/resolve-config.js +19 -0
- package/lib/util/bigSign.js +3 -5
- package/lib/util/buildMediaQuery.js +15 -31
- package/lib/util/cloneDeep.js +14 -13
- package/lib/util/cloneNodes.js +9 -13
- package/lib/util/color.js +85 -60
- package/lib/util/configurePlugins.js +13 -14
- package/lib/util/createPlugin.js +21 -24
- package/lib/util/createUtilityPlugin.js +47 -45
- package/lib/util/dataTypes.js +233 -0
- package/lib/util/defaults.js +16 -14
- package/lib/util/escapeClassName.js +12 -14
- package/lib/util/escapeCommas.js +3 -5
- package/lib/util/flattenColorPalette.js +14 -10
- package/lib/util/formatVariantSelector.js +186 -0
- package/lib/util/getAllConfigs.js +23 -16
- package/lib/util/hashConfig.js +10 -10
- package/lib/util/isKeyframeRule.js +3 -5
- package/lib/util/isPlainObject.js +7 -10
- package/lib/util/isValidArbitraryValue.js +64 -0
- package/lib/util/log.js +43 -30
- package/lib/util/nameClass.js +23 -23
- package/lib/util/negateValue.js +14 -15
- package/lib/util/normalizeConfig.js +237 -0
- package/lib/util/normalizeScreens.js +61 -0
- package/lib/util/parseAnimationValue.js +82 -53
- package/lib/util/parseBoxShadowValue.js +77 -0
- package/lib/util/parseDependency.js +49 -60
- package/lib/util/parseObjectStyles.js +23 -20
- package/lib/util/pluginUtils.js +153 -285
- package/lib/util/prefixSelector.js +14 -16
- package/lib/util/resolveConfig.js +202 -249
- package/lib/util/resolveConfigPath.js +38 -45
- package/lib/util/responsive.js +12 -11
- package/lib/util/tap.js +4 -6
- package/lib/util/toColorValue.js +4 -5
- package/lib/util/toPath.js +9 -6
- package/lib/util/transformThemeValue.js +57 -26
- package/lib/util/withAlphaVariable.js +56 -54
- package/package.json +33 -45
- package/peers/index.js +73073 -84279
- package/plugin.js +1 -2
- package/resolveConfig.js +2 -7
- package/scripts/create-plugin-list.js +2 -2
- package/src/cli.js +84 -30
- package/src/corePluginList.js +1 -1
- package/src/corePlugins.js +2068 -1971
- package/src/css/preflight.css +18 -5
- package/src/featureFlags.js +12 -6
- package/src/index.js +1 -7
- package/src/lib/collapseDuplicateDeclarations.js +93 -0
- package/src/lib/defaultExtractor.js +48 -0
- package/src/lib/detectNesting.js +39 -0
- package/src/lib/evaluateTailwindFunctions.js +6 -3
- package/src/lib/expandApplyAtRules.js +101 -45
- package/src/lib/expandTailwindAtRules.js +36 -51
- package/src/lib/generateRules.js +255 -18
- package/src/lib/normalizeTailwindDirectives.js +9 -3
- package/src/lib/resolveDefaultsAtRules.js +77 -40
- package/src/lib/setupContextUtils.js +415 -131
- package/src/lib/setupTrackingContext.js +20 -18
- package/src/lib/sharedState.js +40 -7
- package/src/lib/substituteScreenAtRules.js +6 -3
- package/src/processTailwindFeatures.js +11 -2
- package/src/public/colors.js +300 -0
- package/src/public/create-plugin.js +2 -0
- package/src/public/default-config.js +4 -0
- package/src/public/default-theme.js +4 -0
- package/src/public/resolve-config.js +7 -0
- package/src/util/buildMediaQuery.js +14 -18
- package/src/util/color.js +20 -7
- package/src/util/createUtilityPlugin.js +2 -11
- package/src/util/dataTypes.js +248 -0
- package/src/util/defaults.js +6 -0
- package/src/util/formatVariantSelector.js +196 -0
- package/src/util/isValidArbitraryValue.js +61 -0
- package/src/util/log.js +22 -21
- package/src/util/nameClass.js +10 -6
- package/src/util/negateValue.js +4 -2
- package/src/util/normalizeConfig.js +262 -0
- package/src/util/normalizeScreens.js +45 -0
- package/src/util/parseAnimationValue.js +7 -1
- package/src/util/parseBoxShadowValue.js +71 -0
- package/src/util/parseDependency.js +4 -0
- package/src/util/pluginUtils.js +101 -204
- package/src/util/prefixSelector.js +1 -4
- package/src/util/resolveConfig.js +23 -66
- package/src/util/toPath.js +23 -1
- package/src/util/transformThemeValue.js +22 -7
- package/src/util/withAlphaVariable.js +13 -8
- package/stubs/defaultConfig.stub.js +165 -99
- package/stubs/simpleConfig.stub.js +0 -1
- package/lib/lib/setupWatchingContext.js +0 -331
- package/src/lib/setupWatchingContext.js +0 -306
package/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,178 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
7
7
|
|
|
8
8
|
## [Unreleased]
|
|
9
9
|
|
|
10
|
+
- Nothing yet!
|
|
11
|
+
|
|
12
|
+
## [3.0.12] - 2022-01-07
|
|
13
|
+
|
|
14
|
+
### Fixed
|
|
15
|
+
|
|
16
|
+
- Allow use of falsy values in theme config ([#6917](https://github.com/tailwindlabs/tailwindcss/pull/6917))
|
|
17
|
+
- Ensure we can apply classes that are grouped with non-class selectors ([#6922](https://github.com/tailwindlabs/tailwindcss/pull/6922))
|
|
18
|
+
- Improve standalone CLI compatibility on Linux by switching to the `linuxstatic` build target ([#6914](https://github.com/tailwindlabs/tailwindcss/pull/6914))
|
|
19
|
+
- Ensure `@apply` works consistently with or without `@layer` ([#6938](https://github.com/tailwindlabs/tailwindcss/pull/6938))
|
|
20
|
+
- Only emit defaults when using base layer ([#6926](https://github.com/tailwindlabs/tailwindcss/pull/6926))
|
|
21
|
+
- Emit plugin defaults regardless of usage ([#6926](https://github.com/tailwindlabs/tailwindcss/pull/6926))
|
|
22
|
+
- Move default border color back to preflight ([#6926](https://github.com/tailwindlabs/tailwindcss/pull/6926))
|
|
23
|
+
- Change `experimental.optimizeUniversalDefaults` to only work with `@tailwind base` ([#6926](https://github.com/tailwindlabs/tailwindcss/pull/6926))
|
|
24
|
+
|
|
25
|
+
## [3.0.11] - 2022-01-05
|
|
26
|
+
|
|
27
|
+
### Fixed
|
|
28
|
+
|
|
29
|
+
- Preserve casing of CSS variables added by plugins ([#6888](https://github.com/tailwindlabs/tailwindcss/pull/6888))
|
|
30
|
+
- Ignore content paths that are passed in but don't actually exist ([#6901](https://github.com/tailwindlabs/tailwindcss/pull/6901))
|
|
31
|
+
- Revert change that applies Tailwind's defaults in isolated environments like CSS modules ([9fdc391](https://github.com/tailwindlabs/tailwindcss/commit/9fdc391d4ff93e7e350f5ce439060176b1f0162f))
|
|
32
|
+
|
|
33
|
+
## [3.0.10] - 2022-01-04
|
|
34
|
+
|
|
35
|
+
### Fixed
|
|
36
|
+
|
|
37
|
+
- Fix `@apply` in files without `@tailwind` directives ([#6580](https://github.com/tailwindlabs/tailwindcss/pull/6580), [#6875](https://github.com/tailwindlabs/tailwindcss/pull/6875))
|
|
38
|
+
- CLI: avoid unnecessary writes to output files ([#6550](https://github.com/tailwindlabs/tailwindcss/pull/6550))
|
|
39
|
+
|
|
40
|
+
### Added
|
|
41
|
+
|
|
42
|
+
- Allow piping data into the CLI ([#6876](https://github.com/tailwindlabs/tailwindcss/pull/6876))
|
|
43
|
+
|
|
44
|
+
## [3.0.9] - 2022-01-03
|
|
45
|
+
|
|
46
|
+
### Fixed
|
|
47
|
+
|
|
48
|
+
- Improve `DEBUG` flag ([#6797](https://github.com/tailwindlabs/tailwindcss/pull/6797), [#6804](https://github.com/tailwindlabs/tailwindcss/pull/6804))
|
|
49
|
+
- Ensure we can use `<` and `>` characters in modifiers ([#6851](https://github.com/tailwindlabs/tailwindcss/pull/6851))
|
|
50
|
+
- Validate `theme()` works in arbitrary values ([#6852](https://github.com/tailwindlabs/tailwindcss/pull/6852))
|
|
51
|
+
- Properly detect `theme()` value usage in arbitrary properties ([#6854](https://github.com/tailwindlabs/tailwindcss/pull/6854))
|
|
52
|
+
- Improve collapsing of duplicate declarations ([#6856](https://github.com/tailwindlabs/tailwindcss/pull/6856))
|
|
53
|
+
- Remove support for `TAILWIND_MODE=watch` ([#6858](https://github.com/tailwindlabs/tailwindcss/pull/6858))
|
|
54
|
+
|
|
55
|
+
## [3.0.8] - 2021-12-28
|
|
56
|
+
|
|
57
|
+
### Fixed
|
|
58
|
+
|
|
59
|
+
- Reduce specificity of `abbr` rule in preflight ([#6671](https://github.com/tailwindlabs/tailwindcss/pull/6671))
|
|
60
|
+
- Support HSL with hue units in arbitrary values ([#6726](https://github.com/tailwindlabs/tailwindcss/pull/6726))
|
|
61
|
+
- Add `node16-linux-arm64` target for standalone CLI ([#6693](https://github.com/tailwindlabs/tailwindcss/pull/6693))
|
|
62
|
+
|
|
63
|
+
## [3.0.7] - 2021-12-17
|
|
64
|
+
|
|
65
|
+
### Fixed
|
|
66
|
+
|
|
67
|
+
- Don't mutate custom color palette when overriding per-plugin colors ([#6546](https://github.com/tailwindlabs/tailwindcss/pull/6546))
|
|
68
|
+
- Improve circular dependency detection when using `@apply` ([#6588](https://github.com/tailwindlabs/tailwindcss/pull/6588))
|
|
69
|
+
- Only generate variants for non-`user` layers ([#6589](https://github.com/tailwindlabs/tailwindcss/pull/6589))
|
|
70
|
+
- Properly extract classes with arbitrary values in arrays and classes followed by escaped quotes ([#6590](https://github.com/tailwindlabs/tailwindcss/pull/6590))
|
|
71
|
+
- Improve jsx interpolation candidate matching ([#6593](https://github.com/tailwindlabs/tailwindcss/pull/6593))
|
|
72
|
+
- Ensure `@apply` of a rule inside an AtRule works ([#6594](https://github.com/tailwindlabs/tailwindcss/pull/6594))
|
|
73
|
+
|
|
74
|
+
## [3.0.6] - 2021-12-16
|
|
75
|
+
|
|
76
|
+
### Fixed
|
|
77
|
+
|
|
78
|
+
- Support square bracket notation in paths ([#6519](https://github.com/tailwindlabs/tailwindcss/pull/6519))
|
|
79
|
+
- Ensure all plugins are executed for a given candidate ([#6540](https://github.com/tailwindlabs/tailwindcss/pull/6540))
|
|
80
|
+
|
|
81
|
+
## [3.0.5] - 2021-12-15
|
|
82
|
+
|
|
83
|
+
### Fixed
|
|
84
|
+
|
|
85
|
+
- Revert: add `li` to list-style reset ([9777562d](https://github.com/tailwindlabs/tailwindcss/commit/9777562da37ee631bbf77374c0d14825f09ef9af))
|
|
86
|
+
|
|
87
|
+
## [3.0.4] - 2021-12-15
|
|
88
|
+
|
|
89
|
+
### Fixed
|
|
90
|
+
|
|
91
|
+
- Insert always-on defaults layer in correct spot ([#6526](https://github.com/tailwindlabs/tailwindcss/pull/6526))
|
|
92
|
+
|
|
93
|
+
## [3.0.3] - 2021-12-15
|
|
94
|
+
|
|
95
|
+
### Added
|
|
96
|
+
|
|
97
|
+
- Warn about invalid globs in `content` ([#6449](https://github.com/tailwindlabs/tailwindcss/pull/6449))
|
|
98
|
+
- Add standalone tailwindcss CLI ([#6506](https://github.com/tailwindlabs/tailwindcss/pull/6506))
|
|
99
|
+
- Add `li` to list-style reset ([00f60e6](https://github.com/tailwindlabs/tailwindcss/commit/00f60e61013c6e4e3419e4b699371a13eb30b75d))
|
|
100
|
+
|
|
101
|
+
### Fixed
|
|
102
|
+
|
|
103
|
+
- Don't output unparsable values ([#6469](https://github.com/tailwindlabs/tailwindcss/pull/6469))
|
|
104
|
+
- Fix text decoration utilities from overriding the new text decoration color/style/thickness utilities when used with a modifier ([#6378](https://github.com/tailwindlabs/tailwindcss/pull/6378))
|
|
105
|
+
- Move defaults to their own always-on layer ([#6500](https://github.com/tailwindlabs/tailwindcss/pull/6500))
|
|
106
|
+
- Support negative values in safelist patterns ([#6480](https://github.com/tailwindlabs/tailwindcss/pull/6480))
|
|
107
|
+
|
|
108
|
+
## [3.0.2] - 2021-12-13
|
|
109
|
+
|
|
110
|
+
### Fixed
|
|
111
|
+
|
|
112
|
+
- Temporarily disable optimize universal defaults, fixes issue with transforms/filters/rings not being `@apply`-able in CSS modules/Svelte components/Vue components ([#6461](https://github.com/tailwindlabs/tailwindcss/pull/6461))
|
|
113
|
+
|
|
114
|
+
## [3.0.1] - 2021-12-10
|
|
115
|
+
|
|
116
|
+
### Fixed
|
|
117
|
+
|
|
118
|
+
- Ensure complex variants with multiple classes work ([#6311](https://github.com/tailwindlabs/tailwindcss/pull/6311))
|
|
119
|
+
- Re-add `default` interop to public available functions ([#6348](https://github.com/tailwindlabs/tailwindcss/pull/6348))
|
|
120
|
+
- Detect circular dependencies when using `@apply` ([#6365](https://github.com/tailwindlabs/tailwindcss/pull/6365))
|
|
121
|
+
- Fix defaults optimization when vendor prefixes are involved ([#6369](https://github.com/tailwindlabs/tailwindcss/pull/6369))
|
|
122
|
+
|
|
123
|
+
## [3.0.0] - 2021-12-09
|
|
124
|
+
|
|
125
|
+
### Fixed
|
|
126
|
+
|
|
127
|
+
- Enforce the order of some variants (like `before` and `after`) ([#6018](https://github.com/tailwindlabs/tailwindcss/pull/6018))
|
|
128
|
+
|
|
129
|
+
### Added
|
|
130
|
+
|
|
131
|
+
- Add `placeholder` variant ([#6106](https://github.com/tailwindlabs/tailwindcss/pull/6106))
|
|
132
|
+
- Add composable `touch-action` utilities ([#6115](https://github.com/tailwindlabs/tailwindcss/pull/6115))
|
|
133
|
+
- Add support for "arbitrary properties" ([#6161](https://github.com/tailwindlabs/tailwindcss/pull/6161))
|
|
134
|
+
- Add `portrait` and `landscape` variants ([#6046](https://github.com/tailwindlabs/tailwindcss/pull/6046))
|
|
135
|
+
- Add `text-decoration-style`, `text-decoration-thickness`, and `text-underline-offset` utilities ([#6004](https://github.com/tailwindlabs/tailwindcss/pull/6004))
|
|
136
|
+
- Add `menu` reset to preflight ([#6213](https://github.com/tailwindlabs/tailwindcss/pull/6213))
|
|
137
|
+
- Allow `0` as a valid `length` value ([#6233](https://github.com/tailwindlabs/tailwindcss/pull/6233), [#6259](https://github.com/tailwindlabs/tailwindcss/pull/6259))
|
|
138
|
+
- Add CSS functions to data types ([#6258](https://github.com/tailwindlabs/tailwindcss/pull/6258))
|
|
139
|
+
- Support negative values for `scale-*` utilities ([c48e629](https://github.com/tailwindlabs/tailwindcss/commit/c48e629955585ad18dadba9f470fda59cc448ab7))
|
|
140
|
+
- Improve `length` data type, by validating each value individually ([#6283](https://github.com/tailwindlabs/tailwindcss/pull/6283))
|
|
141
|
+
|
|
142
|
+
### Changed
|
|
143
|
+
|
|
144
|
+
- Deprecate `decoration-slice` and `decoration-break` in favor `box-decoration-slice` and `box-decoration-break` _(non-breaking)_ ([#6004](https://github.com/tailwindlabs/tailwindcss/pull/6004))
|
|
145
|
+
|
|
146
|
+
## [3.0.0-alpha.2] - 2021-11-08
|
|
147
|
+
|
|
148
|
+
### Changed
|
|
149
|
+
|
|
150
|
+
- Don't use pointer cursor on disabled buttons by default ([#5772](https://github.com/tailwindlabs/tailwindcss/pull/5772))
|
|
151
|
+
- Set default content value in preflight instead of within each before/after utility ([#5820](https://github.com/tailwindlabs/tailwindcss/pull/5820))
|
|
152
|
+
- Remove `prefix` as a function ([#5829](https://github.com/tailwindlabs/tailwindcss/pull/5829))
|
|
153
|
+
|
|
154
|
+
### Added
|
|
155
|
+
|
|
156
|
+
- Add `flex-basis` utilities ([#5671](https://github.com/tailwindlabs/tailwindcss/pull/5671))
|
|
157
|
+
- Make negative values a first-class feature ([#5709](https://github.com/tailwindlabs/tailwindcss/pull/5709))
|
|
158
|
+
- Add `fit-content` values for `min/max-width/height` utilities ([#5638](https://github.com/tailwindlabs/tailwindcss/pull/5638))
|
|
159
|
+
- Add `min/max-content` values for `min/max-height` utilities ([#5729](https://github.com/tailwindlabs/tailwindcss/pull/5729))
|
|
160
|
+
- Add all standard `cursor-*` values by default ([#5734](https://github.com/tailwindlabs/tailwindcss/pull/5734))
|
|
161
|
+
- Add `grow-*` and `shrink-*` utilities, deprecate `flex-grow-*` and `flex-shrink-*` ([#5733](https://github.com/tailwindlabs/tailwindcss/pull/5733))
|
|
162
|
+
- Add `text-decoration-color` utilities ([#5760](https://github.com/tailwindlabs/tailwindcss/pull/5760))
|
|
163
|
+
- Add new declarative `addVariant` API ([#5809](https://github.com/tailwindlabs/tailwindcss/pull/5809))
|
|
164
|
+
- Add first-class `print` variant for targeting printed media ([#5885](https://github.com/tailwindlabs/tailwindcss/pull/5885))
|
|
165
|
+
- Add `outline-style`, `outline-color`, `outline-width` and `outline-offset` utilities ([#5887](https://github.com/tailwindlabs/tailwindcss/pull/5887))
|
|
166
|
+
- Add full color palette for `fill-*` and `stroke-*` utilities (#5933[](https://github.com/tailwindlabs/tailwindcss/pull/5933))
|
|
167
|
+
- Add composable API for colored box shadows ([#5979](https://github.com/tailwindlabs/tailwindcss/pull/5979))
|
|
168
|
+
|
|
169
|
+
### Fixed
|
|
170
|
+
|
|
171
|
+
- Configure chokidar's `awaitWriteFinish` setting to avoid occasional stale builds on Windows ([#5774](https://github.com/tailwindlabs/tailwindcss/pull/5774))
|
|
172
|
+
- Fix CLI `--content` option ([#5775](https://github.com/tailwindlabs/tailwindcss/pull/5775))
|
|
173
|
+
- Fix before/after utilities overriding custom content values at larger breakpoints ([#5820](https://github.com/tailwindlabs/tailwindcss/pull/5820))
|
|
174
|
+
- Cleanup duplicate properties ([#5830](https://github.com/tailwindlabs/tailwindcss/pull/5830))
|
|
175
|
+
- Allow `_` inside `url()` when using arbitrary values ([#5853](https://github.com/tailwindlabs/tailwindcss/pull/5853))
|
|
176
|
+
- Prevent crashes when using comments in `@layer` AtRules ([#5854](https://github.com/tailwindlabs/tailwindcss/pull/5854))
|
|
177
|
+
- Handle color transformations properly with `theme(...)` for all relevant plugins ([#4533](https://github.com/tailwindlabs/tailwindcss/pull/4533), [#5871](https://github.com/tailwindlabs/tailwindcss/pull/5871))
|
|
178
|
+
- Ensure `@apply`-ing a utility with multiple definitions works ([#5870](https://github.com/tailwindlabs/tailwindcss/pull/5870))
|
|
179
|
+
|
|
180
|
+
## [3.0.0-alpha.1] - 2021-10-01
|
|
181
|
+
|
|
10
182
|
### Changed
|
|
11
183
|
|
|
12
184
|
- Remove AOT engine, make JIT the default ([#5340](https://github.com/tailwindlabs/tailwindcss/pull/5340))
|
|
@@ -14,19 +186,59 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
14
186
|
- Remove dependency on `modern-normalize`, inline and consolidate with Preflight ([#5358](https://github.com/tailwindlabs/tailwindcss/pull/5358))
|
|
15
187
|
- Enable extended color palette by default with updated color names ([#5384](https://github.com/tailwindlabs/tailwindcss/pull/5384))
|
|
16
188
|
- Move `vertical-align` values to config file instead of hard-coding ([#5487](https://github.com/tailwindlabs/tailwindcss/pull/5487))
|
|
189
|
+
- Rename `overflow-clip` to `text-clip` and `overflow-ellipsis` to `text-ellipsis` ([#5630](https://github.com/tailwindlabs/tailwindcss/pull/5630))
|
|
17
190
|
|
|
18
191
|
### Added
|
|
19
192
|
|
|
20
193
|
- Add native `aspect-ratio` utilities ([#5359](https://github.com/tailwindlabs/tailwindcss/pull/5359))
|
|
21
194
|
- Unify config callback helpers into single object ([#5382](https://github.com/tailwindlabs/tailwindcss/pull/5382))
|
|
22
195
|
- Preserve original color format when adding opacity whenever possible ([#5154](https://github.com/tailwindlabs/tailwindcss/pull/5154))
|
|
196
|
+
- Add `accent-color` utilities ([#5387](https://github.com/tailwindlabs/tailwindcss/pull/5387))
|
|
23
197
|
- Add `scroll-behavior` utilities ([#5388](https://github.com/tailwindlabs/tailwindcss/pull/5388))
|
|
198
|
+
- Add `will-change` utilities ([#5448](https://github.com/tailwindlabs/tailwindcss/pull/5448))
|
|
199
|
+
- Add `text-indent` utilities ([#5449](https://github.com/tailwindlabs/tailwindcss/pull/5449))
|
|
200
|
+
- Add `column` utilities ([#5457](https://github.com/tailwindlabs/tailwindcss/pull/5457))
|
|
24
201
|
- Add `border-hidden` utility ([#5485](https://github.com/tailwindlabs/tailwindcss/pull/5485))
|
|
25
202
|
- Add `align-sub` and `align-super` utilities by default ([#5486](https://github.com/tailwindlabs/tailwindcss/pull/5486))
|
|
203
|
+
- Add `break-before`, `break-inside` and `break-after` utilities ([#5530](https://github.com/tailwindlabs/tailwindcss/pull/5530))
|
|
204
|
+
- Add `file` variant for `::file-selector-button` pseudo element ([#4936](https://github.com/tailwindlabs/tailwindcss/pull/4936))
|
|
205
|
+
- Add comprehensive arbitrary value support ([#5568](https://github.com/tailwindlabs/tailwindcss/pull/5568))
|
|
206
|
+
- Add `touch-action` utilities ([#5603](https://github.com/tailwindlabs/tailwindcss/pull/5603))
|
|
207
|
+
- Add `inherit` to default color palette ([#5597](https://github.com/tailwindlabs/tailwindcss/pull/5597))
|
|
208
|
+
- Add `overflow-clip`, `overflow-x-clip` and `overflow-y-clip` utilities ([#5630](https://github.com/tailwindlabs/tailwindcss/pull/5630))
|
|
209
|
+
- Add `[open]` variant ([#5627](https://github.com/tailwindlabs/tailwindcss/pull/5627))
|
|
210
|
+
- Add `scroll-snap` utilities ([#5637](https://github.com/tailwindlabs/tailwindcss/pull/5637))
|
|
211
|
+
- Add `border-x` and `border-y` width and color utilities ([#5639](https://github.com/tailwindlabs/tailwindcss/pull/5639))
|
|
26
212
|
|
|
27
213
|
### Fixed
|
|
28
214
|
|
|
29
215
|
- Fix defining colors as functions when color opacity plugins are disabled ([#5470](https://github.com/tailwindlabs/tailwindcss/pull/5470))
|
|
216
|
+
- Fix using negated `content` globs ([#5625](https://github.com/tailwindlabs/tailwindcss/pull/5625))
|
|
217
|
+
- Fix using backslashes in `content` globs ([#5628](https://github.com/tailwindlabs/tailwindcss/pull/5628))
|
|
218
|
+
|
|
219
|
+
## [2.2.19] - 2021-10-29
|
|
220
|
+
|
|
221
|
+
### Fixed
|
|
222
|
+
|
|
223
|
+
- Ensure `corePlugins` order is consisent in AOT mode ([#5928](https://github.com/tailwindlabs/tailwindcss/pull/5928))
|
|
224
|
+
|
|
225
|
+
## [2.2.18] - 2021-10-29
|
|
226
|
+
|
|
227
|
+
### Fixed
|
|
228
|
+
|
|
229
|
+
- Bump versions for security vulnerabilities ([#5924](https://github.com/tailwindlabs/tailwindcss/pull/5924))
|
|
230
|
+
|
|
231
|
+
## [2.2.17] - 2021-10-13
|
|
232
|
+
|
|
233
|
+
### Fixed
|
|
234
|
+
|
|
235
|
+
- Configure chokidar's `awaitWriteFinish` setting to avoid occasional stale builds on Windows ([#5758](https://github.com/tailwindlabs/tailwindcss/pull/5758))
|
|
236
|
+
|
|
237
|
+
## [2.2.16] - 2021-09-26
|
|
238
|
+
|
|
239
|
+
### Fixed
|
|
240
|
+
|
|
241
|
+
- JIT: Properly handle animations that use CSS custom properties ([#5602](https://github.com/tailwindlabs/tailwindcss/pull/5602))
|
|
30
242
|
|
|
31
243
|
## [2.2.15] - 2021-09-10
|
|
32
244
|
|
|
@@ -1580,7 +1792,26 @@ No release notes
|
|
|
1580
1792
|
|
|
1581
1793
|
- Everything!
|
|
1582
1794
|
|
|
1583
|
-
[unreleased]: https://github.com/tailwindlabs/tailwindcss/compare/
|
|
1795
|
+
[unreleased]: https://github.com/tailwindlabs/tailwindcss/compare/v3.0.12...HEAD
|
|
1796
|
+
[3.0.12]: https://github.com/tailwindlabs/tailwindcss/compare/v3.0.11...v3.0.12
|
|
1797
|
+
[3.0.11]: https://github.com/tailwindlabs/tailwindcss/compare/v3.0.10...v3.0.11
|
|
1798
|
+
[3.0.10]: https://github.com/tailwindlabs/tailwindcss/compare/v3.0.9...v3.0.10
|
|
1799
|
+
[3.0.9]: https://github.com/tailwindlabs/tailwindcss/compare/v3.0.8...v3.0.9
|
|
1800
|
+
[3.0.8]: https://github.com/tailwindlabs/tailwindcss/compare/v3.0.7...v3.0.8
|
|
1801
|
+
[3.0.7]: https://github.com/tailwindlabs/tailwindcss/compare/v3.0.6...v3.0.7
|
|
1802
|
+
[3.0.6]: https://github.com/tailwindlabs/tailwindcss/compare/v3.0.5...v3.0.6
|
|
1803
|
+
[3.0.5]: https://github.com/tailwindlabs/tailwindcss/compare/v3.0.4...v3.0.5
|
|
1804
|
+
[3.0.4]: https://github.com/tailwindlabs/tailwindcss/compare/v3.0.3...v3.0.4
|
|
1805
|
+
[3.0.3]: https://github.com/tailwindlabs/tailwindcss/compare/v3.0.2...v3.0.3
|
|
1806
|
+
[3.0.2]: https://github.com/tailwindlabs/tailwindcss/compare/v3.0.1...v3.0.2
|
|
1807
|
+
[3.0.1]: https://github.com/tailwindlabs/tailwindcss/compare/v3.0.0...v3.0.1
|
|
1808
|
+
[3.0.0]: https://github.com/tailwindlabs/tailwindcss/compare/v3.0.0-alpha.2...v3.0.0
|
|
1809
|
+
[3.0.0-alpha.2]: https://github.com/tailwindlabs/tailwindcss/compare/v3.0.0-alpha.1...v3.0.0-alpha.2
|
|
1810
|
+
[3.0.0-alpha.1]: https://github.com/tailwindlabs/tailwindcss/compare/v2.2.19...v3.0.0-alpha.1
|
|
1811
|
+
[2.2.19]: https://github.com/tailwindlabs/tailwindcss/compare/v2.2.18...v2.2.19
|
|
1812
|
+
[2.2.18]: https://github.com/tailwindlabs/tailwindcss/compare/v2.2.17...v2.2.18
|
|
1813
|
+
[2.2.17]: https://github.com/tailwindlabs/tailwindcss/compare/v2.2.16...v2.2.17
|
|
1814
|
+
[2.2.16]: https://github.com/tailwindlabs/tailwindcss/compare/v2.2.15...v2.2.16
|
|
1584
1815
|
[2.2.15]: https://github.com/tailwindlabs/tailwindcss/compare/v2.2.14...v2.2.15
|
|
1585
1816
|
[2.2.14]: https://github.com/tailwindlabs/tailwindcss/compare/v2.2.13...v2.2.14
|
|
1586
1817
|
[2.2.13]: https://github.com/tailwindlabs/tailwindcss/compare/v2.2.12...v2.2.13
|
package/README.md
CHANGED
|
@@ -1,10 +1,14 @@
|
|
|
1
1
|
<p>
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
2
|
+
<a href="https://tailwindcss.com/#gh-light-mode-only" target="_blank">
|
|
3
|
+
<img src="./.github/logo-light.svg" alt="Tailwind CSS" width="350" height="70">
|
|
4
|
+
</a>
|
|
5
|
+
<a href="https://tailwindcss.com/#gh-dark-mode-only" target="_blank">
|
|
6
|
+
<img src="./.github/logo-dark.svg" alt="Tailwind CSS" width="350" height="70">
|
|
7
|
+
</a>
|
|
6
8
|
</p>
|
|
7
9
|
|
|
10
|
+
A utility-first CSS framework for rapidly building custom user interfaces.
|
|
11
|
+
|
|
8
12
|
<p>
|
|
9
13
|
<a href="https://github.com/tailwindlabs/tailwindcss/actions"><img src="https://img.shields.io/github/workflow/status/tailwindlabs/tailwindcss/Node.js%20CI" alt="Build Status"></a>
|
|
10
14
|
<a href="https://www.npmjs.com/package/tailwindcss"><img src="https://img.shields.io/npm/dt/tailwindcss.svg" alt="Total Downloads"></a>
|
package/colors.js
CHANGED
|
@@ -1,304 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
let warned = []
|
|
4
|
-
|
|
5
|
-
function warn({ version, from, to }) {
|
|
6
|
-
if (!warned.includes(from)) {
|
|
7
|
-
log.warn([
|
|
8
|
-
`As of Tailwind CSS ${version}, \`${from}\` has been renamed to \`${to}\`.`,
|
|
9
|
-
'Please update your color palette to eliminate this warning.',
|
|
10
|
-
])
|
|
11
|
-
warned.push(from)
|
|
12
|
-
}
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
module.exports = {
|
|
16
|
-
transparent: 'transparent',
|
|
17
|
-
current: 'currentColor',
|
|
18
|
-
black: '#000',
|
|
19
|
-
white: '#fff',
|
|
20
|
-
slate: {
|
|
21
|
-
50: '#f8fafc',
|
|
22
|
-
100: '#f1f5f9',
|
|
23
|
-
200: '#e2e8f0',
|
|
24
|
-
300: '#cbd5e1',
|
|
25
|
-
400: '#94a3b8',
|
|
26
|
-
500: '#64748b',
|
|
27
|
-
600: '#475569',
|
|
28
|
-
700: '#334155',
|
|
29
|
-
800: '#1e293b',
|
|
30
|
-
900: '#0f172a',
|
|
31
|
-
},
|
|
32
|
-
gray: {
|
|
33
|
-
50: '#f9fafb',
|
|
34
|
-
100: '#f3f4f6',
|
|
35
|
-
200: '#e5e7eb',
|
|
36
|
-
300: '#d1d5db',
|
|
37
|
-
400: '#9ca3af',
|
|
38
|
-
500: '#6b7280',
|
|
39
|
-
600: '#4b5563',
|
|
40
|
-
700: '#374151',
|
|
41
|
-
800: '#1f2937',
|
|
42
|
-
900: '#111827',
|
|
43
|
-
},
|
|
44
|
-
zinc: {
|
|
45
|
-
50: '#fafafa',
|
|
46
|
-
100: '#f4f4f5',
|
|
47
|
-
200: '#e4e4e7',
|
|
48
|
-
300: '#d4d4d8',
|
|
49
|
-
400: '#a1a1aa',
|
|
50
|
-
500: '#71717a',
|
|
51
|
-
600: '#52525b',
|
|
52
|
-
700: '#3f3f46',
|
|
53
|
-
800: '#27272a',
|
|
54
|
-
900: '#18181b',
|
|
55
|
-
},
|
|
56
|
-
neutral: {
|
|
57
|
-
50: '#fafafa',
|
|
58
|
-
100: '#f5f5f5',
|
|
59
|
-
200: '#e5e5e5',
|
|
60
|
-
300: '#d4d4d4',
|
|
61
|
-
400: '#a3a3a3',
|
|
62
|
-
500: '#737373',
|
|
63
|
-
600: '#525252',
|
|
64
|
-
700: '#404040',
|
|
65
|
-
800: '#262626',
|
|
66
|
-
900: '#171717',
|
|
67
|
-
},
|
|
68
|
-
stone: {
|
|
69
|
-
50: '#fafaf9',
|
|
70
|
-
100: '#f5f5f4',
|
|
71
|
-
200: '#e7e5e4',
|
|
72
|
-
300: '#d6d3d1',
|
|
73
|
-
400: '#a8a29e',
|
|
74
|
-
500: '#78716c',
|
|
75
|
-
600: '#57534e',
|
|
76
|
-
700: '#44403c',
|
|
77
|
-
800: '#292524',
|
|
78
|
-
900: '#1c1917',
|
|
79
|
-
},
|
|
80
|
-
red: {
|
|
81
|
-
50: '#fef2f2',
|
|
82
|
-
100: '#fee2e2',
|
|
83
|
-
200: '#fecaca',
|
|
84
|
-
300: '#fca5a5',
|
|
85
|
-
400: '#f87171',
|
|
86
|
-
500: '#ef4444',
|
|
87
|
-
600: '#dc2626',
|
|
88
|
-
700: '#b91c1c',
|
|
89
|
-
800: '#991b1b',
|
|
90
|
-
900: '#7f1d1d',
|
|
91
|
-
},
|
|
92
|
-
orange: {
|
|
93
|
-
50: '#fff7ed',
|
|
94
|
-
100: '#ffedd5',
|
|
95
|
-
200: '#fed7aa',
|
|
96
|
-
300: '#fdba74',
|
|
97
|
-
400: '#fb923c',
|
|
98
|
-
500: '#f97316',
|
|
99
|
-
600: '#ea580c',
|
|
100
|
-
700: '#c2410c',
|
|
101
|
-
800: '#9a3412',
|
|
102
|
-
900: '#7c2d12',
|
|
103
|
-
},
|
|
104
|
-
amber: {
|
|
105
|
-
50: '#fffbeb',
|
|
106
|
-
100: '#fef3c7',
|
|
107
|
-
200: '#fde68a',
|
|
108
|
-
300: '#fcd34d',
|
|
109
|
-
400: '#fbbf24',
|
|
110
|
-
500: '#f59e0b',
|
|
111
|
-
600: '#d97706',
|
|
112
|
-
700: '#b45309',
|
|
113
|
-
800: '#92400e',
|
|
114
|
-
900: '#78350f',
|
|
115
|
-
},
|
|
116
|
-
yellow: {
|
|
117
|
-
50: '#fefce8',
|
|
118
|
-
100: '#fef9c3',
|
|
119
|
-
200: '#fef08a',
|
|
120
|
-
300: '#fde047',
|
|
121
|
-
400: '#facc15',
|
|
122
|
-
500: '#eab308',
|
|
123
|
-
600: '#ca8a04',
|
|
124
|
-
700: '#a16207',
|
|
125
|
-
800: '#854d0e',
|
|
126
|
-
900: '#713f12',
|
|
127
|
-
},
|
|
128
|
-
lime: {
|
|
129
|
-
50: '#f7fee7',
|
|
130
|
-
100: '#ecfccb',
|
|
131
|
-
200: '#d9f99d',
|
|
132
|
-
300: '#bef264',
|
|
133
|
-
400: '#a3e635',
|
|
134
|
-
500: '#84cc16',
|
|
135
|
-
600: '#65a30d',
|
|
136
|
-
700: '#4d7c0f',
|
|
137
|
-
800: '#3f6212',
|
|
138
|
-
900: '#365314',
|
|
139
|
-
},
|
|
140
|
-
green: {
|
|
141
|
-
50: '#f0fdf4',
|
|
142
|
-
100: '#dcfce7',
|
|
143
|
-
200: '#bbf7d0',
|
|
144
|
-
300: '#86efac',
|
|
145
|
-
400: '#4ade80',
|
|
146
|
-
500: '#22c55e',
|
|
147
|
-
600: '#16a34a',
|
|
148
|
-
700: '#15803d',
|
|
149
|
-
800: '#166534',
|
|
150
|
-
900: '#14532d',
|
|
151
|
-
},
|
|
152
|
-
emerald: {
|
|
153
|
-
50: '#ecfdf5',
|
|
154
|
-
100: '#d1fae5',
|
|
155
|
-
200: '#a7f3d0',
|
|
156
|
-
300: '#6ee7b7',
|
|
157
|
-
400: '#34d399',
|
|
158
|
-
500: '#10b981',
|
|
159
|
-
600: '#059669',
|
|
160
|
-
700: '#047857',
|
|
161
|
-
800: '#065f46',
|
|
162
|
-
900: '#064e3b',
|
|
163
|
-
},
|
|
164
|
-
teal: {
|
|
165
|
-
50: '#f0fdfa',
|
|
166
|
-
100: '#ccfbf1',
|
|
167
|
-
200: '#99f6e4',
|
|
168
|
-
300: '#5eead4',
|
|
169
|
-
400: '#2dd4bf',
|
|
170
|
-
500: '#14b8a6',
|
|
171
|
-
600: '#0d9488',
|
|
172
|
-
700: '#0f766e',
|
|
173
|
-
800: '#115e59',
|
|
174
|
-
900: '#134e4a',
|
|
175
|
-
},
|
|
176
|
-
cyan: {
|
|
177
|
-
50: '#ecfeff',
|
|
178
|
-
100: '#cffafe',
|
|
179
|
-
200: '#a5f3fc',
|
|
180
|
-
300: '#67e8f9',
|
|
181
|
-
400: '#22d3ee',
|
|
182
|
-
500: '#06b6d4',
|
|
183
|
-
600: '#0891b2',
|
|
184
|
-
700: '#0e7490',
|
|
185
|
-
800: '#155e75',
|
|
186
|
-
900: '#164e63',
|
|
187
|
-
},
|
|
188
|
-
sky: {
|
|
189
|
-
50: '#f0f9ff',
|
|
190
|
-
100: '#e0f2fe',
|
|
191
|
-
200: '#bae6fd',
|
|
192
|
-
300: '#7dd3fc',
|
|
193
|
-
400: '#38bdf8',
|
|
194
|
-
500: '#0ea5e9',
|
|
195
|
-
600: '#0284c7',
|
|
196
|
-
700: '#0369a1',
|
|
197
|
-
800: '#075985',
|
|
198
|
-
900: '#0c4a6e',
|
|
199
|
-
},
|
|
200
|
-
blue: {
|
|
201
|
-
50: '#eff6ff',
|
|
202
|
-
100: '#dbeafe',
|
|
203
|
-
200: '#bfdbfe',
|
|
204
|
-
300: '#93c5fd',
|
|
205
|
-
400: '#60a5fa',
|
|
206
|
-
500: '#3b82f6',
|
|
207
|
-
600: '#2563eb',
|
|
208
|
-
700: '#1d4ed8',
|
|
209
|
-
800: '#1e40af',
|
|
210
|
-
900: '#1e3a8a',
|
|
211
|
-
},
|
|
212
|
-
indigo: {
|
|
213
|
-
50: '#eef2ff',
|
|
214
|
-
100: '#e0e7ff',
|
|
215
|
-
200: '#c7d2fe',
|
|
216
|
-
300: '#a5b4fc',
|
|
217
|
-
400: '#818cf8',
|
|
218
|
-
500: '#6366f1',
|
|
219
|
-
600: '#4f46e5',
|
|
220
|
-
700: '#4338ca',
|
|
221
|
-
800: '#3730a3',
|
|
222
|
-
900: '#312e81',
|
|
223
|
-
},
|
|
224
|
-
violet: {
|
|
225
|
-
50: '#f5f3ff',
|
|
226
|
-
100: '#ede9fe',
|
|
227
|
-
200: '#ddd6fe',
|
|
228
|
-
300: '#c4b5fd',
|
|
229
|
-
400: '#a78bfa',
|
|
230
|
-
500: '#8b5cf6',
|
|
231
|
-
600: '#7c3aed',
|
|
232
|
-
700: '#6d28d9',
|
|
233
|
-
800: '#5b21b6',
|
|
234
|
-
900: '#4c1d95',
|
|
235
|
-
},
|
|
236
|
-
purple: {
|
|
237
|
-
50: '#faf5ff',
|
|
238
|
-
100: '#f3e8ff',
|
|
239
|
-
200: '#e9d5ff',
|
|
240
|
-
300: '#d8b4fe',
|
|
241
|
-
400: '#c084fc',
|
|
242
|
-
500: '#a855f7',
|
|
243
|
-
600: '#9333ea',
|
|
244
|
-
700: '#7e22ce',
|
|
245
|
-
800: '#6b21a8',
|
|
246
|
-
900: '#581c87',
|
|
247
|
-
},
|
|
248
|
-
fuchsia: {
|
|
249
|
-
50: '#fdf4ff',
|
|
250
|
-
100: '#fae8ff',
|
|
251
|
-
200: '#f5d0fe',
|
|
252
|
-
300: '#f0abfc',
|
|
253
|
-
400: '#e879f9',
|
|
254
|
-
500: '#d946ef',
|
|
255
|
-
600: '#c026d3',
|
|
256
|
-
700: '#a21caf',
|
|
257
|
-
800: '#86198f',
|
|
258
|
-
900: '#701a75',
|
|
259
|
-
},
|
|
260
|
-
pink: {
|
|
261
|
-
50: '#fdf2f8',
|
|
262
|
-
100: '#fce7f3',
|
|
263
|
-
200: '#fbcfe8',
|
|
264
|
-
300: '#f9a8d4',
|
|
265
|
-
400: '#f472b6',
|
|
266
|
-
500: '#ec4899',
|
|
267
|
-
600: '#db2777',
|
|
268
|
-
700: '#be185d',
|
|
269
|
-
800: '#9d174d',
|
|
270
|
-
900: '#831843',
|
|
271
|
-
},
|
|
272
|
-
rose: {
|
|
273
|
-
50: '#fff1f2',
|
|
274
|
-
100: '#ffe4e6',
|
|
275
|
-
200: '#fecdd3',
|
|
276
|
-
300: '#fda4af',
|
|
277
|
-
400: '#fb7185',
|
|
278
|
-
500: '#f43f5e',
|
|
279
|
-
600: '#e11d48',
|
|
280
|
-
700: '#be123c',
|
|
281
|
-
800: '#9f1239',
|
|
282
|
-
900: '#881337',
|
|
283
|
-
},
|
|
284
|
-
get lightBlue() {
|
|
285
|
-
warn({ version: 'v2.2', from: 'lightBlue', to: 'sky' })
|
|
286
|
-
return this.sky
|
|
287
|
-
},
|
|
288
|
-
get warmGray() {
|
|
289
|
-
warn({ version: 'v3.0', from: 'warmGray', to: 'stone' })
|
|
290
|
-
return this.stone
|
|
291
|
-
},
|
|
292
|
-
get trueGray() {
|
|
293
|
-
warn({ version: 'v3.0', from: 'trueGray', to: 'neutral' })
|
|
294
|
-
return this.neutral
|
|
295
|
-
},
|
|
296
|
-
get coolGray() {
|
|
297
|
-
warn({ version: 'v3.0', from: 'coolGray', to: 'gray' })
|
|
298
|
-
return this.gray
|
|
299
|
-
},
|
|
300
|
-
get blueGray() {
|
|
301
|
-
warn({ version: 'v3.0', from: 'blueGray', to: 'slate' })
|
|
302
|
-
return this.slate
|
|
303
|
-
},
|
|
304
|
-
}
|
|
1
|
+
let colors = require('./lib/public/colors')
|
|
2
|
+
module.exports = (colors.__esModule ? colors : { default: colors }).default
|
package/defaultConfig.js
CHANGED
|
@@ -1,4 +1,2 @@
|
|
|
1
|
-
let
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
module.exports = cloneDeep(defaultConfig)
|
|
1
|
+
let defaultConfig = require('./lib/public/default-config')
|
|
2
|
+
module.exports = (defaultConfig.__esModule ? defaultConfig : { default: defaultConfig }).default
|
package/defaultTheme.js
CHANGED
|
@@ -1,4 +1,2 @@
|
|
|
1
|
-
let
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
module.exports = cloneDeep(defaultConfig.theme)
|
|
1
|
+
let defaultTheme = require('./lib/public/default-theme')
|
|
2
|
+
module.exports = (defaultTheme.__esModule ? defaultTheme : { default: defaultTheme }).default
|
|
@@ -1,20 +1,15 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
|
|
3
2
|
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
|
|
3
|
+
value: true
|
|
5
4
|
});
|
|
6
5
|
exports.lazyAutoprefixer = lazyAutoprefixer;
|
|
7
6
|
exports.lazyCssnano = lazyCssnano;
|
|
8
7
|
exports.postcss = void 0;
|
|
9
|
-
|
|
10
8
|
let postcss = require('postcss');
|
|
11
|
-
|
|
12
9
|
exports.postcss = postcss;
|
|
13
|
-
|
|
14
10
|
function lazyAutoprefixer() {
|
|
15
|
-
|
|
11
|
+
return require('autoprefixer');
|
|
16
12
|
}
|
|
17
|
-
|
|
18
13
|
function lazyCssnano() {
|
|
19
|
-
|
|
20
|
-
}
|
|
14
|
+
return require('cssnano');
|
|
15
|
+
}
|