[JS IR] Support per-file mode and ES modules
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
// DONT_TARGET_EXACT_BACKEND: JS
|
||||
// ES_MODULES
|
||||
package foo
|
||||
|
||||
@JsModule("./externalProperty.mjs")
|
||||
external val foo: Int = definedExternally
|
||||
|
||||
fun box(): String {
|
||||
assertEquals(23, foo)
|
||||
return "OK"
|
||||
}
|
||||
Reference in New Issue
Block a user