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
Platform/Target and Browser Versions: All Platforms, with >= 0.25% usage browsers and Safari >= 6
Live Link or JSFiddle/Codepen or website with issue: *
What you did
I am using Swiper in my project which has Gulp+Webpack+babel-loader underhood. (Importing it like ES6 module).
Webpack config is here: https://pastebin.com/zT7N1vpW
As you see I have excluded the node_modules folder from transpiling modules as it is recommended here: facebook/create-react-app#1125.
This is a (multiple allowed):
bug
enhancement
feature-discussion (RFC)
Swiper Version: 4.3.3
Platform/Target and Browser Versions: All Platforms, with >= 0.25% usage browsers and Safari >= 6
Live Link or JSFiddle/Codepen or website with issue: *
What you did
I am using Swiper in my project which has Gulp+Webpack+babel-loader underhood. (Importing it like ES6 module).
Webpack config is here: https://pastebin.com/zT7N1vpW
As you see I have excluded the node_modules folder from transpiling modules as it is recommended here: facebook/create-react-app#1125.
And I get syntax errors in IE11 for Swiper's dependency, Dom7.
For example: https://imgur.com/a/NAgJSuB
If i include dom7 folder in node_modules it gives me another error with Swiper:
https://imgur.com/a/Qokhxki
The same issue was in other package here:
selfrefactor/rambdax#4
and here
selfrefactor/rambda#52
When I remove exclude: /node_modules/ line it doesn't break anymore but takes long time to build.
Expected Behavior
Webpack-bundled Swiper works good and without any troubles in IE11.
Actual Behavior
Webpack-bundled Swiper works good in IE11.
Thanks!
The text was updated successfully, but these errors were encountered: