https://kotlinlang.org logo
#fritz2
Title
# fritz2
s

Sachinda Liyanaarachchi

08/18/2022, 11:17 AM
Hello, I’m trying to setup fritz2 with a project that includes native applications. So, I got the application running but it cannot find the
.js
file in
index.html
My current problem is that there are two build folders being created. 1 in project folder and one in shared folder.
I suppose the question should be how to change the js target so that the js file is built in the shared/build folder so that the index.html file could locate the js file…
n

Nikky

08/18/2022, 8:55 PM
i don't quite get the problem you laid out or how your subprojects are structured.. generally you keep your fritz2 index.html in the resources folder in the same subproject then you run the task
jsBrowserProductionWebpack
and your output is in
build/distributions
s

Sachinda Liyanaarachchi

08/19/2022, 1:16 PM
Thank you! I figured it out and managed to build the app properly!
6 Views