mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-24 14:45:15 +00:00
12 lines
253 B
TypeScript
12 lines
253 B
TypeScript
|
import type { Plugin } from 'postcss'
|
||
|
|
||
|
const componentRoot = (_opts = {}): Plugin => {
|
||
|
console.log('loaded custom postcss plugin')
|
||
|
return {
|
||
|
postcssPlugin: 'custom-postcss-plugin',
|
||
|
}
|
||
|
}
|
||
|
componentRoot.postcss = true
|
||
|
|
||
|
export default componentRoot
|