You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Unforeseen detail here: What about the scss files located under src/? I would think we want to continue to ship those in the package, since probably a lot of people are customizing the variables and @importing "../../node_modules/src/sweetalert2.scss" in their own sass code.
Follow-up from #1160
In order to avoid any confusions,
src
folder should be excluded from the published package.The correct way to import
Swal
without styles isAs the nice bonus: the bundle size will be slightly smaller:
Before:
After:
The text was updated successfully, but these errors were encountered: