aspect-build / aspect-build/rules_js

Example of building an ejected React app

Open
#427 13 comments 1 reaction 0 assignees View on GitHub
example help wanted
Dominant language
Starlark
Stars
378
Forks
183
Avg merge
1d 9h
Merged PRs (30d)
32

Description

If you eject from CRA (react-scripts) you can make something more incremental and bazel-idiomatic.

https://github.com/heartless-clown/bazel_aspect_rules_js_react/blob/ejected/app/react-app/BUILD.bazel#L111-L112 is a start

Also note: we promised this as "react-scripts-like" in https://github.com/bazelbuild/rules_nodejs/blob/stable/docs/examples.md#react

Contributor guide

Open the contributing guide

Research direction

Start with the referenced BUILD.bazel lines 111-112 and the React section of docs/examples.md, then compare the proposed ejected app with the promised react-scripts-like behavior. Done means adding a documented, incremental Bazel example that fulfills that promise.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, react
Domain
build-system, frontend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.