bitcentivez (git) has the same problem as the original
bitcentive, illustrated by this:
The web server is serving directories and files that should not be needed for the static site, which is built into
./dist. I would prefer if the server only served files in
./dist, but I am not sure if this is possible with the
steal combination (
ssr, in particular).
What configuration changes would be needed to make this work?
For instance, in my “
done-ssr-middleware pulls the configuration for the static site from
client/package.json, and therefore serves all of the
steal relies on
package.json for configuration.
cp client/package.json client/dist/package.json and pointing
client/dist/package.json doesn’t seem to work because there is an error about finding the built
It seems it is trying to resolve
./dist relative to an outer directory, assuming the site is built into
./dist/dist, and doesn’t understand or accept
package.json being copied to
I haven’t been able to find the relevant
ssr code that would be causing this, however.
I’m assuming @matthewp might have some ideas in regards to this!
It might be something super simple. Thanks for any help.