Skip to content

Commit

Permalink
Merge pull request #42 from fedorovsky/update-packages
Browse files Browse the repository at this point in the history
updated swiper
  • Loading branch information
fedorovsky authored Dec 23, 2023
2 parents 3f8ee10 + 71aa951 commit 942580f
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 8 deletions.
6 changes: 3 additions & 3 deletions dist/js/main.js

Large diffs are not rendered by default.

3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
],
"dependencies": {
"jquery": "^3.6.3",
"swiper": "^8.4.6"
"swiper": "^11.0.5"
},
"devDependencies": {
"@babel/core": "^7.20.12",
Expand Down Expand Up @@ -55,7 +55,6 @@
"postcss": "^8.4.21",
"postcss-import": "^15.1.0",
"postcss-loader": "^7.0.2",
"postcss-nesting": "^11.0.1",
"postcss-preset-env": "^8.0.1",
"prettier": "^2.8.3",
"style-loader": "^3.3.1",
Expand Down
1 change: 0 additions & 1 deletion postcss.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ module.exports = () => ({
ident: 'postcss',
plugins: {
'postcss-import': {},
'postcss-nesting': {},
'postcss-preset-env': {
stage: 3,
features: {
Expand Down
8 changes: 6 additions & 2 deletions src/js/initSwiper.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
import Swiper, { Navigation, Pagination } from 'swiper';
import 'swiper/css/bundle';
import Swiper from 'swiper';
import { Navigation, Pagination } from 'swiper/modules';

import 'swiper/css';
import 'swiper/css/navigation';
import 'swiper/css/pagination';

Swiper.use([Navigation, Pagination]);

Expand Down

0 comments on commit 942580f

Please sign in to comment.