Open

Description
is there possibility to access to result of postcss plugins?
I'm using postcss-import plugin and need to watch(watchify) every file imported by @import call in css.
Example below, but with css-modulesify don't know how to do it.
Postcss().use(p).process(data).then((result) => {
for ( const msg of result.messages ) {
if ( msg.type != "dependency" ) continue;
b.emit("file", msg.file); //watchify
}
});
Metadata
Metadata
Assignees
Labels
No labels