I was able to use, on a stylesheet, an alias that I defined in webpack by using the following:
@import '~alias/variables';
just by prefixing the alias with ~
did the trick for me, as suggested by documentation in here
More Related Contents:
- To know the sass structure [closed]
- Using Sass Variables with CSS3 Media Queries
- Sass .scss: Nesting and multiple classes?
- Sass – Manipulate inherited property?
- How do I use /deep/ or >>> or ::v-deep in Vue.js?
- Modifying the middle of a selector in Sass (adding/removing classes, etc.)
- Sass Interpolation of Mixin, Function, and Variable names
- Why does Sass change the format of my colors?
- Is Sass 3.3 compatible with Compass?
- How to overwrite SCSS variables when compiling to CSS
- Can I import an externally hosted file with sass?
- Error: ‘node-sass’ version 5.0.0 is incompatible with ^4.0.0
- Concatenating nested classes using SASS [duplicate]
- Math with interpolated variables?
- Sass combining parent using ampersand (&) with type selectors
- Can’t import CSS/SCSS modules. TypeScript says “Cannot Find Module”
- Browserslist: caniuse-lite is outdated. Please run next command `npm update caniuse-lite browserslist`
- Using variables for CSS properties in Sass
- Sass color variable not working inside darken()
- How to convert a number to a percentage with SASS? [duplicate]
- Multiple values for one property with variable argument lists in Sass
- Adding two values in Sass function creates double instance of ‘px’
- Interpolation of prefixes on @keyframes in Sass
- Is it possible to reference a further parent than just the one above?
- Gulp TypeError: Arguments to path.join must be strings
- Trying to use sass modules in create-react-app with the new @use syntax but receiving an error
- Configure compass browser support (Compass 1.x syntax)
- Unexpected results when using @extend for themes
- Styling a specific set of input types in a reusable way with Sass
- What does % mean in SASS?