-
Notifications
You must be signed in to change notification settings - Fork 178
Closed
Description
When I include kotlin-extensions
in my HTML page, I get this error in all browsers:
Uncaught ReferenceError: module is not defined
at kotlin-extensions.js:93
(anonymous) @ kotlin-extensions.js:93
This is line 93:
}(module.exports, require('kotlin'), require('core-js/library/fn/object/assign')));
The kotlin
module is loaded, but core-js
seems new to me. I could not find any documentation in the kotlin-extensions
project which mentions core-js
. As I include kotlin-extensions
via gradle and I can not find anything core-js
releated in the project, I assume the kotlin-extensions
artifact is missing the dependency to core-js
.
dependencies {
compile(
"org.jetbrains.kotlin:kotlin-stdlib-js:$kotlinVersion",
"org.jetbrains:kotlin-extensions:$kotlinExtensionsVersion",
"org.jetbrains:kotlin-react:$kotlinReactVersion",
"org.jetbrains:kotlin-react-dom:$kotlinReactVersion"
)
}
alexoooo
Metadata
Metadata
Assignees
Labels
No labels