vite/playground/css/sass.scss

16 lines
676 B
SCSS

@use '=/nested'; // alias + custom index resolving -> /nested/_index.scss
@use '=/nested/partial'; // sass convention: omitting leading _ for partials
@use '@vitejs/test-css-dep'; // package w/ sass entry points
@use '@vitejs/test-css-dep-exports'; // package with a sass export mapping
@use '@vitejs/test-scss-proxy-dep'; // package with a sass proxy import
@use 'virtual-dep'; // virtual file added through importer
@use '=/pkg-dep'; // package w/out sass field
@use '=/weapp.wxss'; // wxss file
@use 'virtual-file-absolute';
@use '=/scss-dir/main.scss'; // "./dir" reference from vite custom importer
.sass {
/* injected via vite.config.js */
color: $injectedColor;
}