farmOS / field-kit

A modular, offline-first companion app to farmOS.
https://farmOS.org
GNU General Public License v3.0
59 stars 38 forks source link

Fix Vite bundling optimizations #513

Closed jgaehring closed 1 year ago

jgaehring commented 1 year ago

As I mentioned in https://github.com/farmOS/field-kit/issues/508#issuecomment-1102909896, finally getting around to putting this into a PR so I can test it.

jgaehring commented 1 year ago

I'm thinking now it might just be easier to merge this and see how it works on https://develop.farmos.app, so we don't have to configure CORS for the preview deployment. @mstenta or @paul121, do you know if https://test.farmos.dev is already configured for using develop.farmos.app, or are you able to check?

mstenta commented 1 year ago

Looks like it's configured! If it doesn't work let me know and we can debug. :+1:

jgaehring commented 1 year ago

Thanks @mstenta! I merged this in order to deploy and test it on develop.farmos.app just now, will follow up in #508.

mstenta commented 1 year ago

Just another thought: might be able to use @paul121's tugboat demo sites for testing? https://farmos-demo.rootedsolutions.io/

jgaehring commented 1 year ago

Oh! Good call. I'll keep that in mind next time, but for now, this PR issue seems fixed on develop.farmos.app, and I'm gonna plow ahead w/ local development, lots to get done! :rocket:

paul121 commented 1 year ago

might be able to use @paul121's tugboat demo sites for testing?

Yep, I believe it has the field kit module enabled by default, if not you can enable it yourself. You also have permission to modify/create the consumer entities, iirc this was helpful for doing local testing of field kit.