File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -180,7 +180,7 @@ var Config = function () {
180
180
( 0 , _keys2 . default ) ( alias ) . map ( function ( key ) {
181
181
var isRelativePath = alias [ key ] . indexOf ( USER_HOME ) === - 1 && alias [ key ] . indexOf ( process . cwd ( ) ) === - 1 ;
182
182
if ( key . indexOf ( '$' ) !== key . length - 1 && / ^ \/ .+ / . test ( alias [ key ] ) && isRelativePath ) {
183
- alias [ key ] = sysPath . join ( _this2 . _config . cwd , alias [ key ] ) ;
183
+ alias [ key ] = normalize ( sysPath . join ( _this2 . _config . cwd , alias [ key ] ) ) ;
184
184
}
185
185
} ) ;
186
186
extend ( true , this . _config . resolve . alias , alias ) ;
Original file line number Diff line number Diff line change @@ -161,7 +161,7 @@ class Config {
161
161
&& / ^ \/ .+ / . test ( alias [ key ] )
162
162
&& isRelativePath
163
163
) {
164
- alias [ key ] = sysPath . join ( this . _config . cwd , alias [ key ] ) ;
164
+ alias [ key ] = normalize ( sysPath . join ( this . _config . cwd , alias [ key ] ) ) ;
165
165
}
166
166
} ) ;
167
167
extend ( true , this . _config . resolve . alias , alias ) ;
You can’t perform that action at this time.
0 commit comments