framerx-build-system
framerx-build-system copied to clipboard
Trying to add a component to demo code fail (not added to build)
First thx, this project really has me exited, it'd be great to share "codebase" between engineers and designers.
steps:
- git clone
- yarn
- yarn build
- add component
- build (build 'succeed' but component is not found)

yarn build output:
I am expecting, in lib folder after building, to see a new folder (Text) appear, with a Title.js file in it. What am I missing, is Typescript required ? Are there more step than "just" importing the compo in the index.ts at the root of the project for the build job to register the new compo ?
I'm running into a similar issue. When I run yarn build my components seem to propagate correctly into ./lib & ./src.But what I'm seeing is something that prevents multiple components from being added. If I add a custom Text component and delete Button from the root level index.ts, my Text component works fine but as soon as I add another component in the mix, that new component fails to render correctly.