-
Notifications
You must be signed in to change notification settings - Fork 53
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Proposal: simplify elder.config.js #27
Comments
@jbmoelker I like the idea of simplifying the config. I was never a fan of Thoughts:
I'm happy to review a PR on this (and #28) if you guys are hacking on it. |
@jbmoelker All of this is configured aside from the Going to be migrating several plugins and our sites to this version of Elder.js then will likely release v1. |
The current
elder.config.js
exposes a lot of internals, likelocations.svelte.ssrComponents
andlocations.intersectionObserverPoly
. Would it be an idea to reduce the surface that's exposed, simplify the API and make it more common to other frameworks like Next.js and NuxtJS?current
elder.config.js
:proposal
elder.config.js
:target
convention: Next.js and NuxtJS. This would replace thecontext: 'server'
used elsewhere.rootDir
convention: NuxtJSsrcDir
convention: NuxtJSdistDir
convention: Next.js and NuxtJSThe text was updated successfully, but these errors were encountered: