Skip to content

SW34002: Missing module CSS target

A file imports stillwind/module-css, but the integration provides no module for it.

This error occurs when a file imports stillwind/module-css, but the integration did not create the virtual module that replaces the import. The compiled CSS has nowhere to go.

How to fix

  • Check that the build tool runs the Stillwind integration on this file. See Framework integrations.
  • In your own integration, create the virtual module before you render the replacement imports.