react-id-swiper icon indicating copy to clipboard operation
react-id-swiper copied to clipboard

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

Open GaddMaster opened this issue 4 years ago • 2 comments

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' }],
}

GaddMaster avatar Aug 10 '20 10:08 GaddMaster

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.

jere-co avatar Aug 12 '20 05:08 jere-co

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

GaddMaster avatar Aug 24 '20 20:08 GaddMaster