sdkcarlos/artyom.js

_artyom2.default.say is not a function

Opened this issue · 0 comments

Using webpack with babel loaders. (Edit: I've excluded from babel-loader and got same error)

Tried:
import artyom from 'artyom.js'
artyom.say("hi")
Got:

index.js?1bf1:62 Uncaught (in promise) TypeError: _artyom2.default.say is not a function
    at VueComponent._callee2$ (index.js?1bf1:62)
    at tryCatch (runtime.js?4a57:65)
    at Generator.invoke [as _invoke] (runtime.js?4a57:303)
    at Generator.prototype.(:8080/anonymous function) [as next] (webpack-internal:///434:117:21)
    at step (index.js?1bf1:4)
    at eval (index.js?1bf1:4)

:/