exhibitionist-digital / ultra

Zero-Legacy Deno/React Suspense SSR Framework

Home Page:https://ultrajs.dev

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

proposal: ultra.config.js feedback wanted

deckchairlabs opened this issue · comments

I'd like to reduce some duplication of configuration passed to both createServer and createBuilder

So something like this. Thoughts?

export default {
  browserEntrypoint: './client.tsx',
  serverEntrypoint: './server.tsx',
}

Would simplify both server and builder, but I wonder if it's too soon to add something like this? Maybe we see how it goes using them in the wild without this first?

I suppose we don't need to build support into ultra itself, since you could just create a config file and import that