You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 21, 2021. It is now read-only.
I was trying to bundle senna with webpack and when i try to initialize it is showing error
Uncaught TypeError: _senna2.default.App is not a constructor at Object.defineProperty.value (app.js:15) at __webpack_require__ (bootstrap fb4f791f5a0ac65d2f0b:19) at Object.<anonymous> (bundle.js:9515) at __webpack_require__ (bootstrap fb4f791f5a0ac65d2f0b:19) at module.exports.ctor.super_ (bootstrap fb4f791f5a0ac65d2f0b:62) at bootstrap fb4f791f5a0ac65d2f0b:62
Can somebody show what i did wrong ?
My app.js file is
` import Senna from 'senna' ;
var app = new Senna.App();`
The text was updated successfully, but these errors were encountered:
I was trying to bundle senna with webpack and when i try to initialize it is showing error
Uncaught TypeError: _senna2.default.App is not a constructor at Object.defineProperty.value (app.js:15) at __webpack_require__ (bootstrap fb4f791f5a0ac65d2f0b:19) at Object.<anonymous> (bundle.js:9515) at __webpack_require__ (bootstrap fb4f791f5a0ac65d2f0b:19) at module.exports.ctor.super_ (bootstrap fb4f791f5a0ac65d2f0b:62) at bootstrap fb4f791f5a0ac65d2f0b:62
Can somebody show what i did wrong ?
My app.js file is
The text was updated successfully, but these errors were encountered: