Skip to content

Commit

Permalink
Merge pull request #33 from dynamicweb/32-cannot-import-css-from-sass
Browse files Browse the repository at this point in the history
Fix exports section to allow imports in scss
  • Loading branch information
nicped authored Apr 8, 2022
2 parents 8b2a1d0 + 48d0edc commit e4ade75
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"description": "Swiffy slider is a touch enabled super lightweight html slider and carousel using browser scroll, css grid and scroll snap align and less than 1.5 kb javascript. Comes in css mode only version",
"version": "1.5.2",
"config": {
"version_short": "1.4"
"version_short": "1.5"
},
"type": "module",
"exports": {
Expand All @@ -13,9 +13,7 @@
"./css": {
"import": "./dist/css/swiffy-slider.min.css"
},
"./src/swiffy-slider.css": {
"import": "./src/swiffy-slider.css"
}
"./src/": "./src/"
},
"style": "dist/css/swiffy-slider.min.css",
"browser": "dist/js/swiffy-slider.min.js",
Expand Down

0 comments on commit e4ade75

Please sign in to comment.