onejs / one

❶ One is a new React framework - target web and native with a single Vite plugin and fully shared code, so you can ship cross-platform nearly as easy as single-platform.
https://onestack.dev
Other
3.28k stars 66 forks source link

Generated app version controls generated ./app/tamagui.css #222

Open pandeiro opened 2 weeks ago

pandeiro commented 2 weeks ago

New to Tamagui, but generally files that are tooling-generated get gitignored to avoid the source and target becoming out of sync, or changes to the target being erased the next time the tool generates from source.

Is the way that the example is setup intentional? If so, maybe an explanatory note somewhere would help. As it is, it's unclear if I should be making direct edits to app/tamagui.css or only working within config/tamagui.config.ts

natew commented 4 days ago

We could ignore app/tamagui.css as it is auto-generated, adding a comment at the top would be good for tamagui to do. I'll note that for a future release.