Relay
EnabledSection titled “Enabled”
This plugin is enabled if there’s a match in "dependencies"
or "devDependencies"
in package.json
:
-
vite-plugin-relay
-
@swc/plugin-relay
-
babel-plugin-relay
Default configurationSection titled “Default configuration”
If this plugin is enabled, the following configuration is added automatically:
{ "relay": { "config": [ "relay.config.json", "relay.config.js" ] }}
Depending on local configuration, plugins may modify the defaults as shown.
Custom config
or entry
options override default values, they are not merged.
See Plugins for more details about plugins and their entry
and config
options.
Shell commandsSection titled “Shell commands”
This plugin adds argument parsing for the relay-compiler
binary. Configuration:
args: (args) => ["-c", parseArgs(args)._[0]]config: true
The configuration was generated from source code. Also see Script Parser.
Generated from sourceSection titled “Generated from source”
This page was generated from the relay plugin source code.
ISC License © 2024 Lars Kappert