* Cleanup test Strings are going to actually do something now * Refactor plugin loading in `resolveConfig` This should keep the same instance of a plugin in use too. Maybe even reduce memory usage?! idk we’ll see * Support simple plugin configs * Update types * Update changelog
11 lines
252 B
JavaScript
11 lines
252 B
JavaScript
const plugin = require('../../../plugin.js')
|
|
|
|
module.exports = plugin.withOptions(function ({ prefix = '' } = {}) {
|
|
return function ({ addUtilities }) {
|
|
addUtilities({
|
|
[`.${prefix}example-1`]: {
|
|
color: 'red',
|
|
},
|
|
})
|
|
}
|
|
})
|