How to connect the module swiper slider in webpack4?

Good day! Trying to make a slider but can't figure out how to connect. Use swiper, installed it in the gcd modules imported, but when you call it it gives an error that there is no such function. I wrapped the call code in
import './assets/scss/main.scss'

import 'bootstrap'
import 'bootstrap/dist/css/bootstrap.min.css';

// CSS (example)
import 'Swiper'

$(document).ready(function () {
 let mySwiper = new Swiper('.js-news-slider', {
 speed: 400,
 spaceBetween: 100

but it didn't help. Please tell me what is my mistake? here is the build
April 4th 20 at 13:03
1 answer
April 4th 20 at 13:05
import from Swiper 'swiper' ?

Find more questions by tags JavaScriptWebpackSwiper