tailwindcss 1.9.5 → 1.9.6
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 +11 -2
- package/lib/util/getAllConfigs.js +3 -3
- package/package.json +1 -1
- package/stubs/defaultConfig.stub.js +1 -0
package/CHANGELOG.md
CHANGED
|
@@ -9,6 +9,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
9
9
|
|
|
10
10
|
- Nothing yet!
|
|
11
11
|
|
|
12
|
+
## [1.9.6]
|
|
13
|
+
|
|
14
|
+
### Changed
|
|
15
|
+
|
|
16
|
+
- The `presets` feature had unexpected behavior where a preset config without its own `presets` key would not extend the default config. ([#2662](https://github.com/tailwindlabs/tailwindcss/pull/2662))
|
|
17
|
+
|
|
18
|
+
If you were depending on this unexpected behavior, just add `presets: []` to your own preset to exclude the default configuration.
|
|
19
|
+
|
|
12
20
|
## [1.9.5]
|
|
13
21
|
|
|
14
22
|
### Fixed
|
|
@@ -1000,8 +1008,9 @@ No release notes
|
|
|
1000
1008
|
|
|
1001
1009
|
- Everything!
|
|
1002
1010
|
|
|
1003
|
-
[unreleased]: https://github.com/tailwindlabs/tailwindcss/compare/v1.9.
|
|
1004
|
-
[1.9.
|
|
1011
|
+
[unreleased]: https://github.com/tailwindlabs/tailwindcss/compare/v1.9.6...HEAD
|
|
1012
|
+
[1.9.6]: https://github.com/tailwindlabs/tailwindcss/compare/v1.9.5...v1.9.6
|
|
1013
|
+
[1.9.5]: https://github.com/tailwindlabs/tailwindcss/compare/v1.9.4...v1.9.5
|
|
1005
1014
|
[1.9.4]: https://github.com/tailwindlabs/tailwindcss/compare/v1.9.3...v1.9.4
|
|
1006
1015
|
[1.9.3]: https://github.com/tailwindlabs/tailwindcss/compare/v1.9.2...v1.9.3
|
|
1007
1016
|
[1.9.2]: https://github.com/tailwindlabs/tailwindcss/compare/v1.9.1...v1.9.2
|
|
@@ -27,9 +27,9 @@ var _lodash = require("lodash");
|
|
|
27
27
|
|
|
28
28
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
29
29
|
|
|
30
|
-
function getAllConfigs(config
|
|
31
|
-
const configs = (0, _lodash.flatMap)([...(0, _lodash.get)(config, 'presets',
|
|
32
|
-
return getAllConfigs(preset
|
|
30
|
+
function getAllConfigs(config) {
|
|
31
|
+
const configs = (0, _lodash.flatMap)([...(0, _lodash.get)(config, 'presets', [_defaultConfigStub.default])].reverse(), preset => {
|
|
32
|
+
return getAllConfigs(preset);
|
|
33
33
|
});
|
|
34
34
|
const features = {
|
|
35
35
|
uniformColorPalette: _uniformColorPalette.default,
|
package/package.json
CHANGED