Skip to content

Access to result of postcss #119

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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions