You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
run yarn wilson:build to locally build the wilson package
run yarn docs:start to start the development build of the wilson documentation or run yarn docs:build && yarn docs:serve to serve the production build of the wilson documentation
Production build doesn't have devtools injected, even though devtoolsInProd is set to true.
Development build seems to have them injected (sometimes they only appear after clientside navigation), but the rendering is started before devtools initialization (at least that's what the preact devtools panel in chrome devtool says).
The text was updated successfully, but these errors were encountered:
In my work-in-progress static site renderer @wilsonjs, the prefresh part works, but the devtools part doesn't work at all.
My usage of
@preact/preset-vite
is here:https://github.com/wilsonjs/wilson/blob/main/packages/wilson/src/node/vite.ts#L34-L36
Steps to reproduce:
yarn
on root dir to install dependenciesyarn wilson:build
to locally build thewilson
packageyarn docs:start
to start the development build of the wilson documentation or runyarn docs:build && yarn docs:serve
to serve the production build of the wilson documentationProduction build doesn't have devtools injected, even though
devtoolsInProd
is set totrue
.Development build seems to have them injected (sometimes they only appear after clientside navigation), but the rendering is started before devtools initialization (at least that's what the preact devtools panel in chrome devtool says).
The text was updated successfully, but these errors were encountered: