-
-
Notifications
You must be signed in to change notification settings - Fork 199
Closed
Description
Less.js v3 was just released: https://github.com/less/less.js/blob/master/CHANGELOG.md
Using the webpack resolver won't work correctly:
FAIL test/index.test.js
✓ should compile simple less without errors (305ms)
✕ should resolve all imports (20ms)
✕ should add all resolved imports as dependencies (12ms)
✕ should resolve all imports from node_modules using webpack's resolver (12ms)
✕ should add all resolved imports as dependencies, including node_modules (13ms)
✓ should resolve aliases as configured (13ms)
✓ should add all resolved imports as dependencies, including aliased ones (16ms)
✓ should resolve all imports from the given paths using Less' resolver (10ms)
✓ should add all resolved imports as dependencies, including those from the Less resolver (9ms)
✓ should allow to disable webpack's resolver by passing an empty paths array (9ms)
✕ should not try to resolve import urls (11ms)
✓ should allow to import non-less files (20ms)
✕ should compile data-uri function (15ms)
✕ should transform urls (20ms)
✕ should generate source maps with sourcesContent by default (13ms)
✕ should be possible to override sourceMap.outputSourceFiles (14ms)
✓ should install plugins (11ms)
✓ should not alter the original options object (9ms)
✕ should fail if a file is tried to be loaded from include paths and with webpack's resolver simultaneously (10ms)
✕ should provide a useful error message if the import could not be found (15ms)
✓ should provide a useful error message if there was a syntax error (11ms)
✕ should add a file with an error as dependency so that the watcher is triggered when the error is fixed (10ms)
✓ should be able to import a file with an absolute path (11ms)
rejas, thorn0, thomassuckow, plavski, smoliakov and 3 more