Simon Green
Simon Green
I _thought_ it did last night, but stackblitz isn't working for me this morning to confirm, I may have been mistaken.
See: https://github.com/sveltejs/kit/pull/11277#issuecomment-1856504688 https://github.com/sveltejs/kit/issues/11341#issuecomment-1858836699 It does become quite inconvenient to have to prevent any references to it while building, I hope that can be changed.
I should have some projects with workarounds I can revert, to confirm.
IMO this works https://github.com/CaptainCodeman/sk-11371 build & preview shows `handle { PUBLIC_TEST: '123' }` in the console (changing import to private shows all the env values set)
Maybe try it in an incognito window to see if it's caused by a browser plugin.
I had a need for rate-limiting, but also coupled with an API key token system, and came up with this: https://www.npmjs.com/package/svelte-api-keys Still working on tidy-up and a proper demo page...
I don't think there can ever be any _single_ best-practice as so much will depend on each applications approach to auth. So it would be difficult and maybe misguided to...
I just came across this - my use case was an image gallery with a popup preview that showed a larger version of the hovered item. If the popup has...
In the process of cleaning up some of the code and making the site responsive but try this: http://www.showchampions.com/print/AB32-100519-5647#/4:5/968/109/2756/2346 The relevant bits are in: http://www.showchampions.com/Scripts/Image/Print.js
some ideas: can't 'augment' loaded content as was possible with ng1 (by compiling so directives would wire up) no template switching for views observables can't just be shared by multiple...