My project structure:
webpack.config.js app-- --> src ---->> components ------>>> myComponent.js ------>>> myComponen
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
~