Unknown Syntax error in IE
goatandsheep opened this issue · comments
Kemal Ahmed commented
Ram Damera commented
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
Kemal Ahmed commented
Oh this is a duplicate of #136 then I think
Kemal Ahmed commented
How do I import a specific version, i.e. main
vs module
?
I'm doing this: import "wicg-inert";
Kemal Ahmed commented
I found this example webpack.config.js, which does:
module.exports = {
resolve: {
alias: {
'wicg-inert': path.resolve('./node_modules/wicg-inert/dist/inert'),
}
}
}