Config

Ream loads ream.config.js from your project root.

entry

  • Type: string
  • Default: index.js

The entry file of your app.

pwa

  • Type: boolean
  • Default: true

Whether to enable Progressive Web App features.

server

host

  • Type: string
  • Default: process.env.HOST || '0.0.0.0'
  • CLI only: true

Server host.

port

  • Type: number
  • Default: process.env.PORT || 4000
  • CLI only: true

Server port.

css

extract

  • Type: boolean
  • Default: true in production build.

Whether to extract CSS for client bundle.