vite/playground/css/sass.scss
smeng9 8ccf7222e9
fix(css): @import with .css in node_modules importing a different package failed to resolve (#15000)
Co-authored-by: Shaoyu Meng <shaoyu>
Co-authored-by: 翠 / green <green@sapphi.red>
2024-01-08 22:51:14 +01:00

14 lines
594 B
SCSS

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