mirror of
https://github.com/less/less.js.git
synced 2026-05-01 03:00:22 -04:00
Added test for import module fix
This commit is contained in:
@@ -61,12 +61,13 @@
|
||||
"grunt-eslint": "^19.0.0",
|
||||
"grunt-saucelabs": "^9.0.0",
|
||||
"grunt-shell": "^1.3.0",
|
||||
"import-module": "file:test/import-module",
|
||||
"jit-grunt": "^0.10.0",
|
||||
"less-plugin-clean-css": "^1.5.1",
|
||||
"performance-now": "^0.2.0",
|
||||
"phantomjs-prebuilt": "^2.1.7",
|
||||
"promise": "^7.1.1",
|
||||
"phin": "^2.2.3",
|
||||
"promise": "^7.1.1",
|
||||
"time-grunt": "^1.3.0"
|
||||
},
|
||||
"keywords": [
|
||||
|
||||
3
test/import-module/one/1.less
Normal file
3
test/import-module/one/1.less
Normal file
@@ -0,0 +1,3 @@
|
||||
.one {
|
||||
color: red;
|
||||
}
|
||||
3
test/import-module/one/two/2.less
Normal file
3
test/import-module/one/two/2.less
Normal file
@@ -0,0 +1,3 @@
|
||||
.two {
|
||||
color: blue;
|
||||
}
|
||||
3
test/import-module/one/two/three/3.less
Normal file
3
test/import-module/one/two/three/3.less
Normal file
@@ -0,0 +1,3 @@
|
||||
.three {
|
||||
color: green;
|
||||
}
|
||||
11
test/import-module/package.json
Normal file
11
test/import-module/package.json
Normal file
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"name": "import-module",
|
||||
"version": "1.0.0",
|
||||
"description": "Less files to be included in node_modules directory for testing import from node_modules",
|
||||
"main": "index.js",
|
||||
"scripts": {
|
||||
"test": "echo \"Error: no test specified\" && exit 1"
|
||||
},
|
||||
"author": "Rob Huzzey <robert.huzzey@holidayextras.com>",
|
||||
"license": "ISC"
|
||||
}
|
||||
3
test/less/import-module.less
Normal file
3
test/less/import-module.less
Normal file
@@ -0,0 +1,3 @@
|
||||
@import 'import-module/one/two/three/3.less';
|
||||
@import 'import-module/one/two/2.less';
|
||||
@import 'import-module/one/1.less';
|
||||
Reference in New Issue
Block a user