kidjp85 / react-id-swiper

A library to use idangerous Swiper as a ReactJs component which allows Swiper's modules custom build
https://react-id-swiper.ashernguyen.site/
MIT License
1.49k stars 154 forks source link

Webpack & Babel config not working & no such "swiper/css" in newest version #462

Open GaddMaster opened 4 years ago

GaddMaster commented 4 years ago

Unexpected token, expected "," (139:34)

{
     exclude: [/node_modules/(?!(swiper|dom7)/).*/, /.test.js(x)?$/],
                                                 ^ (It is the "!" this arrow points to after the "?")
    test: /.js(x)?$/,
    use: [{ loader: 'babel-loader' }],
}
jere-co commented 4 years ago

If you have a look at Swiper itself, it received a major upgrade recently. Please see Swiper Changelog. Install latest Swiper version 5 if you wish to get this running.

The Swiper 6 now natively supports React, so you might not need this package at all.

GaddMaster commented 4 years ago

Ok so just migrate to swiper and ditch this package right ?