b59f668a50
The idea is that we do no longer use `sourceMapBaseDirs` parameter of `compileKotlin2Js` task to remove prefix from source paths, but instead preserve the full paths relative to the output directory. This allows us to avoid duplicate file names and to identify source files more reliably. Then, after sources have been embedded in the source map, we remove several relative prefixes from source paths.
Kotlin Standard Library for JS
This module produces a kotlin-stdlib-js jar which contains all the Kotlin standard kotlin library code compiled to JavaScript.
The tests of this module can be run and debugged inside any browser by opening the web/index.html file in this directory to run the test cases using Mocha.
You should execute installMocha gradle task before running these tests to fetch the required Mocha dependency and testClasses task to compile test code.
These tests are also run during CI build with Node.js plugin.