## Local development in services

Change the _output > path_ of the formbuilder-react webpack.common.js to the local lib 
directory of the other service you want to build the lib to (e.g. service-entity).

For example from:
```
   path: path.resolve(__dirname, "./dist"),
```
to:
```
   path: path.resolve(__dirname, "../../service-entity/webclient/src/js/lib"),
```

<br>

Then import the locally generated lib in the specific component of the other service (in this example service-entity):
```
  import Form from '../../lib/formbuilder' 
```
instead of
```
  import Form from '@micromerce/formbuilder-react'
```
```
  import Form from "@micromerce/formbuilder-react"
```
<br>
Then run `npm rum watch` to start the formbuilder-react (and changes are automatically applied).<br>
The other service should now have access to the local lib.<br>
Warning `...is not a module.` will be displayed, but can be ignored.
