Skip to content

Breaking rollup-plugin-css-only plugin #60

@aurmartin

Description

@aurmartin
  • 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.

Metadata

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