react-id-swiper
react-id-swiper copied to clipboard
Webpack & Babel config not working & no such "swiper/css" in newest version
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' }],
}
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.
Ok so just migrate to swiper and ditch this package right ?