Skip to content

Breaking rollup-plugin-css-only plugin #60

Open
@aurmartin

Description

  • Rollup Plugin Name: rollup-plugin-web-worker-loader
  • Rollup Plugin Version: 1.6.1
  • Rollup Version: 2.62.0
  • Operating System (or Browser): macOS 11.6 BigSur
  • Node Version: v16.13.0
  • Link to reproduction : project.zip

Expected Behavior

rollup-plugin-web-worker-loader shouldn't break the rollup-plugin-css-only plugin.

Actual Behavior

With my config, when I enable the rollup-plugin-web-worker-loader and I have at least one web worker, my rollup-plugin-css-only does not output anything.

How to reproduce

You can run npm install && npm run build, there will be no bundle.css generated in public/build.
If you disable the rollup-plugin-web-worker-loader in rollup.config.js and build again, there will be a bundle.css.

Activity

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

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions