kotlin-frontend-plugin
kotlin-frontend-plugin copied to clipboard
Gradle Kotlin (http://kotlinlang.org) plugin for frontend development
I spent quite a bunch of hours figuring out that `kotlinOptions.outputFile = "$project.buildDir.path/js-tests/${project.name}-tests.js"` is needed for running tests. Could you please add that to the docs?
When the DCE plugin is enabled, `kotlin-js-min/main` is added to the `webpack.config.js` config. This can be seen on the 'frontend-only' example by invoking the `run` task. The bundle that's loaded,...
Hi, it looks like when running karma tests that the build-cache caches the test result, or maybe I'm doing something wrong? ### my build.gradle ``` apply plugin: 'kotlin2js' apply plugin:...
If I add the following `npm` dependency to the `frontend-only` example: dependency "@jetbrains/kotlin-react-dom" and use the dependency in the `main` function: react.dom.render(document.body!!) {} the build fails with: Module not found:...
Hello. I have kotlin module "my_module" with code: ```kotlin @JsName("myKotlinFunction") fun myKotlinFunction() { println("It is my kotlin function") } ``` Without kotlin-frontend-plugin I can get access to "kotlin code" from...
I'm having a multi project build with two projects both of them depend on the koltin std lib of course and both of them reflect upon classes. Unfortunately the produced...
I'm having a multi project build with three modules A, B, C. Dependencies are i the same order: A -> B -> C Yet, I'm having trouble getting all the...
Webpack 4 introduced a new API, including running without any configuration and setting a `mode` parameter (which is required, I get warnings inside Chrome when running my frontend app). Are...
I'm trying to use an artifact stored in my local maven repository as a dependency for another project, like so (build.gradle file): ``` ... repositories { mavenCentral() mavenLocal()" } dependencies...