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
My second use case was adding a simple script to one of the pages in a setup without any frontend framework (plain html). This script is only relevant on the page in the same folder and not relevant to pages in any folder beneath.
I think your workaround is not such a bad solution except for the ../../../+client.js in deeper folders which could be fixed with some configurations setting.
Maybe an update of the documentation would help:
information about +client.js not being cumulative
solution for use cases which need composition of global and local
Description
Currently
+client.js
isn't cumulative. But it should be.pages/+client.js # This currently overrides pages/+client.js (but it shouldn't) pages/some-page/+client.js
In the meantime the workaround is to do this:
The text was updated successfully, but these errors were encountered: