electron / electron/forge

Use StyleX with Electron

Open
#3,459 0 comments 0 reactions 0 assignees View on GitHub
bug plugin/webpack
Dominant language
TypeScript
Stars
7.1k
Forks
641
Avg merge
3d 17m
Merged PRs (30d)
32

Description

### Pre-flight checklist

- [X] I have read the [contribution documentation](https://github.com/electron/forge/blob/main/CONTRIBUTING.md) for this project.
- [X] I agree to follow the [code of conduct](https://github.com/electron/electron/blob/main/CODE_OF_CONDUCT.md) that this project uses.
- [X] I have searched the issue tracker for a bug that matches the one I want to file, without success.

### Electron Forge version

7.2.0

### Electron version

28.1.1

### Operating system

macOS 14.2.1

### Last known working Electron Forge version

_No response_

### Expected behavior

I am trying to add StyleX to my Electron application, but there should be a problem with the webpack configuration.
I've already asked the StyleX team for help here: https://github.com/facebook/stylex/discussions/302, but they can't seem to help me.

### Actual behavior

Webpack should work with StyleX plugin.

### Steps to reproduce

Please use this repo: https://github.com/danieleperilli/electron-with-stylex

### Additional information

_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.