-
Notifications
You must be signed in to change notification settings - Fork 3
Ragu Server: Config File
The name prefix is used as namespace of your components.
It prevents component name collision across multiple ragu-servers.
The path where your components live.
The route where the server should expose the generated static files. ie: /component-assets/
The route where the server should expose your components. default: /components/
The route where the server should expose your components preview. default: /preview/
Should the server expose the preview endpoint? default: false
Hides the welcome message when the server starts. default: false
The min level of log. default: 0
Choices: DEBUG=0, INFO=1, WARN=2, ERROR=3
Define a custom log. (The config.server.logging.level will have no effect when this field is defined).
Application server port.
Watch for component changes to recompile.
The URL prefix of your components. ie: http://localhost:3101/component-assets/
The path from your server-side components part, compiled to node. ie: path.join(__dirname, 'compiled/view_components')
The path from your components compiled to node. ie: path.join(__dirname, 'compiled/hydrate_components')
A custom webpack configuration to compile your components to a node environment.
A custom webpack configuration to compile your components to a browser environment.