I have a multi platform kotlin lib that I build us...
# javascript
c
I have a multi platform kotlin lib that I build using gradle. How can use that in a create-react-kotlin-app project?
a
cc @houston
h
I’m afraid that, since create-react-kotlin-app has no configuration by design, your only option is
eject
-ing configuration, and then specifying path to you library in KotlinWebpackPlugin configuration: https://github.com/JetBrains/create-react-kotlin-app/blob/master/packages/react-scripts/config/webpack.config.dev.js#L198 Eject-related docs: https://github.com/facebookincubator/create-react-app/blob/master/packages/react-scripts/template/README.md#npm-run-eject
c
@houston Thanks a lot, that worked. There are still some things needed before this is really usable, like automatically downloading such libs. And I needed to configure the lib in IntelliJ manually.
👍 1