-
-
Notifications
You must be signed in to change notification settings - Fork 428
Closed
Description
I have an alias like this in webpack.config.js:
'common': path.resolve(__dirname, '..', '..', 'common'),and I have import statements like these in my .scss files:
@import "common/scss/colors";but it doesn't work.
If I change it to
@import "../../common/scss/colors";just like what the Webpack alias defines, then it works!
I can work around the problem by making my own loader, and modifying the @imports to have the unaliased strings, but that's obviously not desirable.
Possibly related: #173
jiayihu, satiewaltz, vorlov, goncalomarques, TheDutchCoder and 12 more