Port minWidth module to plugin
This commit is contained in:
parent
1ff01435e7
commit
b140bf66fb
4 changed files with 15 additions and 16 deletions
|
|
@ -1,3 +1,4 @@
|
|||
import minWidth from './plugins/minWidth'
|
||||
import negativeMargin from './plugins/negativeMargin'
|
||||
import objectFit from './plugins/objectFit'
|
||||
import objectPosition from './plugins/objectPosition'
|
||||
|
|
@ -26,6 +27,7 @@ import zIndex from './plugins/zIndex'
|
|||
|
||||
export default function (config) {
|
||||
return [
|
||||
config.modules.minWidth === false ? () => {} : minWidth(),
|
||||
config.modules.negativeMargin === false ? () => {} : negativeMargin(),
|
||||
config.modules.objectFit === false ? () => {} : objectFit(),
|
||||
config.modules.objectPosition === false ? () => {} : objectPosition(),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue