Skip to content

Instantly share code, notes, and snippets.

@morhetz
Created March 21, 2019 11:17
Show Gist options
  • Save morhetz/5031ee7de2f31a11be020d9ab76152ba to your computer and use it in GitHub Desktop.
Save morhetz/5031ee7de2f31a11be020d9ab76152ba to your computer and use it in GitHub Desktop.
globals: &globals
devServerPort: 4000
minimize:
images: true
srcScriptsDir: "./src"
buildScriptsDir: "./public"
prerender: &prerender
- root
- faq
- loading
default: &default
entries:
index: "./src/entries/Landing"
polyfills: "./src/entries/Polyfills"
globals: *globals
styles:
localIdentName: "psn-[name]-[local]"
sentry:
organization: "paysend"
project: "wallet-landing"
github:
repo: "paysend/wallet-landing"
alias:
react: "preact-compat"
react-dom: "preact-compat"
development:
<<: *default
htmls:
template: "./src/templates/index.html"
proxy:
/api:
target: "http://localhost:8080"
globals:
<<: *globals
minimize: false
ssr:
<<: *default
prerender: *prerender
entries:
index: "./src/entries/Landing/LandingApp.js"
globals:
<<: *globals
longTermCaching: false
buildScriptsDir: "./.ssr"
dryrun:
<<: *default
globals:
<<: *globals
ssr: true
production:
<<: *default
globals:
<<: *globals
ssr: true
minimize: true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment