Use safelist
This commit is contained in:
parent
415f0a3544
commit
268ef00696
2 changed files with 2 additions and 2 deletions
|
|
@ -1645,7 +1645,7 @@ No release notes
|
|||
|
||||
- Make it possible to disable all core plugins using `corePlugins: false`
|
||||
- Make it possible to configure a single list of variants that applies to all utility plugins
|
||||
- Make it possible to whitelist which core plugins should be enabled
|
||||
- Make it possible to safelist which core plugins should be enabled
|
||||
|
||||
### Fixed
|
||||
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@ test('passing only false removes all plugins', () => {
|
|||
expect(configuredPlugins).toEqual([])
|
||||
})
|
||||
|
||||
test('passing an array whitelists plugins', () => {
|
||||
test('passing an array safelists plugins', () => {
|
||||
const plugins = ['fontSize', 'display', 'backgroundPosition']
|
||||
|
||||
const configuredPlugins = configurePlugins(['display'], plugins)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue