-
Notifications
You must be signed in to change notification settings - Fork 374
Description
Describe the feature request
Description:
I would like to request a new feature for StyleX: a plugin for integration with the Bun bundler.
Background:
Bun is a fast and lightweight bundler that provides built-in support for JavaScript and TypeScript. It has gained popularity recently due to its performance and simplicity.
Currently, StyleX offers plugins for build tools like Webpack, Rollup, Next.js, and esbuild. However, there is no plugin for Bun yet.
Motivation:
Having a StyleX plugin for Bun would provide a seamless integration experience for developers who want to use StyleX with Bun. It would allow them to easily compile and bundle StyleX styles as part of their build process.
The plugin could work similarly to the existing plugins for other build tools. It would extract and compile StyleX styles during the bundling process and generate the necessary CSS files.
Benefits:
- Improved developer experience: Developers could leverage the performance and simplicity of Bun while still enjoying the benefits of StyleX for styling their applications.
- Seamless integration: Developers using Bun wouldn't have to set up additional configuration or tools to compile StyleX styles separately.
Implementation:
The implementation details of the plugin would need to be determined by the StyleX team, taking into account the specific requirements and best practices for integrating with Bun.
Additional Information:
Bun official website: https://bun.sh/
Bun repository: https://github.com/oven-sh/bun