mirror of
https://github.com/tailwindlabs/tailwindcss.git
synced 2025-12-08 21:36:08 +00:00
Add default interop to public available functions (#6348)
* add `default` interop to public available functions * update changelog
This commit is contained in:
parent
81f52a24f4
commit
b399e8db90
@ -9,7 +9,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||
|
||||
### Fixed
|
||||
|
||||
- Ensure complex variants with multiple classes work [#6311](https://github.com/tailwindlabs/tailwindcss/pull/6311)
|
||||
- Ensure complex variants with multiple classes work ([#6311](https://github.com/tailwindlabs/tailwindcss/pull/6311))
|
||||
- Re-add `default` interop to public available functions ([#6348](https://github.com/tailwindlabs/tailwindcss/pull/6348))
|
||||
|
||||
## [3.0.0] - 2021-12-09
|
||||
|
||||
|
||||
@ -1 +1,2 @@
|
||||
module.exports = require('./lib/public/colors').default
|
||||
let colors = require('./lib/public/colors')
|
||||
module.exports = (colors.__esModule ? colors : { default: colors }).default
|
||||
|
||||
@ -1 +1,2 @@
|
||||
module.exports = require('./lib/public/default-config').default
|
||||
let defaultConfig = require('./lib/public/default-config')
|
||||
module.exports = (defaultConfig.__esModule ? defaultConfig : { default: defaultConfig }).default
|
||||
|
||||
@ -1 +1,2 @@
|
||||
module.exports = require('./lib/public/default-theme').default
|
||||
let defaultTheme = require('./lib/public/default-theme')
|
||||
module.exports = (defaultTheme.__esModule ? defaultTheme : { default: defaultTheme }).default
|
||||
|
||||
@ -1 +1,2 @@
|
||||
module.exports = require('./lib/public/create-plugin').default
|
||||
let createPlugin = require('./lib/public/create-plugin')
|
||||
module.exports = (createPlugin.__esModule ? createPlugin : { default: createPlugin }).default
|
||||
|
||||
@ -1 +1,2 @@
|
||||
module.exports = require('./lib/public/resolve-config').default
|
||||
let resolveConfig = require('./lib/public/resolve-config')
|
||||
module.exports = (resolveConfig.__esModule ? resolveConfig : { default: resolveConfig }).default
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user