Skip to content

CSS is not imported in output when component is only imported through virtual module#52

Description

@NullVoxPopuli

This is... 馃檭

BUT, I have a custom rollup plugin which only imports components via virtual module

all components are basically bundled, and then exported:

// in a virtual file
export function myFun() {
  return {
    'key': () => import('./components/foo.gjs'),
  }
}

and then in a real file:

export { myFun } from 'virtual:wheee';

The <template></template> region is correctly transformed, but it looks like the CSS is lost (not present anywhere in dist)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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