Closed goatandsheep closed 4 years ago
From the images it look like your insert is not transpiled for IE compat. Try transpiling it or you can have a try using https://unpkg.com/wicg-inert
Oh this is a duplicate of #136 then I think
How do I import a specific version, i.e. main
vs module
?
I'm doing this: import "wicg-inert";
I found this example webpack.config.js, which does:
module.exports = {
resolve: {
alias: {
'wicg-inert': path.resolve('./node_modules/wicg-inert/dist/inert'),
}
}
}
On page loading, I get a Syntax error in IE that points to the
InertRoot
class. On FF and Chrome it seems okay. We are using Babel and our application has been IE compliant so far. I'm not sure what to make of the error:To add further details, we are using jquery.