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
While perspective itself is build with esbuild there's no documentation for projects which are using esbuild themselves to build their applications.
I setup a simple test to see whether this worked directly and it does, however it produces a 12.2MB bundle which is just un-consumable and there's a warning about perspective being inlined.
I couldn't find on the website or in the issues any documentation for setting up with non-webpack projects. I would imagine there needs be to a separate esbuild plugin for consuming perspective similar to webpack?
The text was updated successfully, but these errors were encountered:
There is a plugin for this in tools/perspective-build that perspective uses to build itself; we plan to publish this in 1.1.0.
While the inline-ed version is a large JavaScript file, in practice the difference between these builds on initial load time over a modern connection is likely to be quite small (e.g. 200ms vs 1.5s, testing myself on a 5g device from unpkg). This is unfortunate, but not un-consumable - is there something I'm missing?
Support Question
While
perspective
itself is build withesbuild
there's no documentation for projects which are usingesbuild
themselves to build their applications.I setup a simple test to see whether this worked directly and it does, however it produces a 12.2MB bundle which is just un-consumable and there's a warning about perspective being inlined.
I couldn't find on the website or in the issues any documentation for setting up with non-webpack projects. I would imagine there needs be to a separate esbuild plugin for consuming perspective similar to webpack?
The text was updated successfully, but these errors were encountered: