Skip to content
This repository was archived by the owner on Sep 6, 2021. It is now read-only.

Commit cfb4bf4

Browse files
committed
Fix a case when extension less file is importing other less files
1 parent 9f2c33a commit cfb4bf4

1 file changed

Lines changed: 8 additions & 1 deletion

File tree

src/utils/ExtensionUtils.js

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,14 @@ define(function (require, exports, module) {
8888
options = {
8989
filename: file,
9090
paths: [dir],
91-
rootpath: dir
91+
rootpath: dir,
92+
currentFileInfo: {
93+
currentDirectory: dir,
94+
entryPath: dir,
95+
filename: url,
96+
rootFilename: url,
97+
rootpath: dir
98+
}
9299
};
93100
}
94101

0 commit comments

Comments
 (0)