vite-plugin-sass-glob-import weekly downloads statistics
By cmalven · npm · Vite plugins
Use glob syntax for imports in your main Sass or SCSS file.
vite-plugin-sass-glob-import has 8,376 recorded weekly downloads on npm, a decrease of 57.5% over the past 30 days, ranking #961 of 2,313 tracked listings.
About vite-plugin-sass-glob-import
vite-plugin-sass-glob-import
Use glob syntax for @import or @use in your main Sass or SCSS file.
Install
npm i -D vite-plugin-sass-glob-import
// In vite.config.js
import { defineConfig } from 'vite'
import sassGlobImports from 'vite-plugin-sass-glob-import';
export default defineConfig({
plugins: [
sassGlobImports()
]
});
Usage
Note: Globbing only work in a top-level file, not within referenced files.
// In src/styles/main.scss
@use 'vars/**/*.scss';
@import 'utils/**/*.scss';
@import 'objects/**/*.scss';
The above will be transformed into something like the following before Vite processes it with Sass:
@use 'vars/var-a.scss';
@use 'vars/var-b.scss';
@import 'utils/utils-a.scss';
@import 'utils/utils-b.scss';
@import 'objects/objects-a.scss';
@import 'objects/objects-b.scss';
@import 'objects/objects-c.scss';
Caveats
This plugin is intentionally simple and doesn't attempt to support every feature offered by Vite. If your use-case isn't similar to the examples in the README above, it probably isn't supported by this plugin.
Description from the npm listing.
- vite
- vite-plugin
- sass
README badge
Show your rank in a README or on your website. The badge updates automatically.
Charts
Images: 30d · 1y · all time · 1600×900 dark
Adoption over time
7/30/90-day growth
Ranking history
Listing placement
Listing placement
Filled points are observed values; hollow points come from Internet Archive snapshots of the listing page. Dashed segments span periods with no observations — values between points are not interpolated.
Each band is one page of 20. Weekly downloads on a linear scale. Placement is projected from weekly downloads, so it can differ from the marketplace's own sort order. Hover a dot to see the listing.
Recent observations
Full history (543)Similar npm Vite plugins plugins
All 20 vite-plugin-sass-glob-import alternativesData source
Weekly downloads (trailing 7 complete days) come from the official npm downloads API. Downloads include CI and mirrors and are not equivalent to installs or users. npm publishes no ratings.
Listing: https://www.npmjs.com/package/vite-plugin-sass-glob-import. First seen Oct 16, 2026; last successful collection Oct 20, 2026. See the methodology.