4.0.0 • Published 1 year ago

nfa-rw-project-config v4.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

Project Config

Warning

This is a new internal package. There are still changes we want to make, so we're marking it as experimental for now. Don't depend on this directly in a Redwood project.

This offers functionality to parse the Redwood configurations and a way to get a project's paths.

The base directory

Redwood is anchored to a single redwood.toml file. We use this to determine the base directory of a project.

Sides

Redwood separates your project into sides, by default we have a "web side" and an "api side." Each side has a target ("browser" for "web" and "node" for "api"). We use the concept of sides and targets to determine how to build, test, lint and manage your project.

Dependency graphs

src

src

dist

dist