less-loader 2.2.2 → 2.2.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.idea/shelf/imports_fallback_https___github_com_webpack_less_loader_issues_74/shelved.patch +27 -0
- package/.idea/shelf/imports_fallback_https___github_com_webpack_less_loader_issues_74.xml +4 -0
- package/.idea/watcherTasks.xml +4 -0
- package/.idea/workspace.xml +386 -528
- package/CHANGELOG.md +5 -0
- package/index.js +3 -13
- package/package.json +8 -8
package/.idea/shelf/imports_fallback_https___github_com_webpack_less_loader_issues_74/shelved.patch
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
Index: test/index.test.js
|
|
2
|
+
IDEA additional info:
|
|
3
|
+
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
|
|
4
|
+
<+>UTF-8
|
|
5
|
+
===================================================================
|
|
6
|
+
--- test/index.test.js (revision 7ab6a2ef7d17e1ebaa9d15e8cf79fc0120c21523)
|
|
7
|
+
+++ test/index.test.js (revision )
|
|
8
|
+
@@ -29,6 +29,7 @@
|
|
9
|
+
}
|
|
10
|
+
});
|
|
11
|
+
test("should not try to resolve import urls", "imports-url");
|
|
12
|
+
+ test("should not try to resolve import urls", "imports-url");
|
|
13
|
+
test("should compile data-uri function", "data-uri");
|
|
14
|
+
test("should transform urls", "url-path");
|
|
15
|
+
test("should transform urls to files above the current directory", "folder/url-path");
|
|
16
|
+
Index: test/less/imports-fallback.less
|
|
17
|
+
IDEA additional info:
|
|
18
|
+
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
|
|
19
|
+
<+>UTF-8
|
|
20
|
+
===================================================================
|
|
21
|
+
--- test/less/imports-fallback.less (revision )
|
|
22
|
+
+++ test/less/imports-fallback.less (revision )
|
|
23
|
+
@@ -0,0 +1,4 @@
|
|
24
|
+
+// This import does not use a tilde to reference the bower_components folder – just like your JS modules.
|
|
25
|
+
+// In this case, the less-loader will first try to resolve ./module.less and then module.less. This behavior is pretty
|
|
26
|
+
+// similar to how LESS is handling the --inlucde-path option
|
|
27
|
+
+@import "module.less";
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
<changelist name="imports_fallback_https___github_com_webpack_less_loader_issues_74" date="1458934656167" recycled="false">
|
|
2
|
+
<option name="PATH" value="$PROJECT_DIR$/.idea/shelf/imports_fallback_https___github_com_webpack_less_loader_issues_74/shelved.patch" />
|
|
3
|
+
<option name="DESCRIPTION" value="imports-fallback https://github.com/webpack/less-loader/issues/74" />
|
|
4
|
+
</changelist>
|