css-modules/css-modules-loader-core

sourcePath prefix '/' no such file or directory

lomocc opened this issue · 0 comments

.process( sourceString, { from: "/" + sourcePath } )

in windows the sourcePath looks like D:/HTML5/..., and will be transform to /D:/HTML5/.... cause

 no such file or directory, open 'D:\D:\HTML5\...\Typography.css'

should it be:

.process( sourceString, { from: sourcePath} ) 

?