mp
09/12/2019, 12:03 PMrequire('webexteision-polyfill')
in kotlinjs?Big Chungus
09/12/2019, 12:04 PMBig Chungus
09/12/2019, 12:05 PMmp
09/12/2019, 12:13 PMimplementation(kotlin("stdlib-js"))
it import for me require(val: boolean)
function that assert val and throw exception if false 🤔 not same as require
some js moduleBig Chungus
09/12/2019, 12:13 PMmp
09/12/2019, 12:13 PMBig Chungus
09/12/2019, 12:21 PMmp
09/12/2019, 12:27 PMSam Garfinkel
09/12/2019, 1:46 PMexternal fun require(module: String): dynamic = definedExternally
Sam Garfinkel
09/12/2019, 1:47 PM= definedExternally
might even be unecessary tbhBig Chungus
09/12/2019, 1:48 PM= definedExternally
is not needed here as it's a function. It's meant to be used for variablesSam Garfinkel
09/12/2019, 1:49 PMBig Chungus
09/12/2019, 1:49 PMSam Garfinkel
09/12/2019, 1:50 PMBig Chungus
09/12/2019, 1:50 PMturansky
09/12/2019, 6:29 PMES6
npm dependencies also marked as external
in webpack