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
Using webpack4 & babel7 to dev svelte application. Now it's just a 'hello world'. I need make it work on IE 11。
I use bable & babel-preset-env to translate js code. It's work fine when browsers was chrome,but when i change it to ie >= 11,it got an Error.
Logs
log.js:59 Uncaught TypeError: Class constructor SvelteComponent cannot be invoked without 'new'
at new Componets (log.js:59)
at Module../src/index.js (index.js:6)
at __webpack_require__ (bootstrap:725)
at fn (bootstrap:100)
at Object.0 (app.js:15268)
at __webpack_require__ (bootstrap:725)
at bootstrap:792
at bootstrap:792
Describe the bug
Using webpack4 & babel7 to dev svelte application. Now it's just a 'hello world'. I need make it work on IE 11。
I use bable & babel-preset-env to translate js code. It's work fine when browsers was
chrome
,but when i change it toie >= 11
,it got an Error.Logs
To Reproduce
here is my webpack.config.js
Who can help me?
The text was updated successfully, but these errors were encountered: