Closed onemantooo closed 2 years ago
Hey @onemantooo. I'm not familiar with this error. From https://rollupjs.org/guide/en/#error-this-is-undefined, it looks like you might be able to play around with options.context and options.moduleContext. I don't have any particular insight into this, sorry! If you find out it's something wrong with Penpal, please let me know! Thanks!
Hi. I'm using penpal in my Rollup + TS project and getting a bunch of errors, when trying to include
node_modules/penpal/**/*.js
in babel processing. Babel is configured to support IE 11 (penpal is not used in this case, but syntax needs to be transpiled cause it's bundled in single file), so when i don't include penpal i'm getting a syntax error in IE, but when i include - everything seems working fine in IE also, but i got errors during build:Errors & warns
Babel config:
Maybe you can help me solving this?