Auz / Bug

Add bugs to your website
https://auz.github.io/Bug/
435 stars 80 forks source link

Webpack incompatibility? #36

Open globalistas opened 1 year ago

globalistas commented 1 year ago

So, I'm using Webpack in my project and bug.js produces the following error when processed with it:

image

This is in my main.js:

import BugController from './ext/bug';
...
new BugController();

And this is in the webpack-created main.js bundle:

// EXTERNAL MODULE: ./app/static/js/ext/bug.js
var bug = __webpack_require__(26);
var bug_default = /*#__PURE__*/__webpack_require__.n(bug);

Any ideas? Thank you!