facebook / facebook/stylex

[unplugin] writeBundle hooks not working in rspack.

Open
#1,390 1 comment 1 reaction 0 assignees View on GitHub
bug
Dominant language
JavaScript
Stars
10.3k
Forks
481
Avg merge
3d 8h
Merged PRs (30d)
13

Description

### Describe the issue

Image
As described in the support hooks section of unplugin, the writeBundle hook currently receives no arguments when a plugin runs in Rspack.

Image

### Expected behavior

falls back to creating stylex.css if none exist.

### Steps to reproduce

unplugin 2.3.11
@stylexjs/unplugin 0.17.3
@rspack/core 1.6.7

### Test case

_No response_

### Additional comments

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.