index.js 1.1 KB

12345678910111213141516171819202122
  1. "use strict";
  2. Object.defineProperty(exports, "__esModule", { value: true });
  3. var tslib_1 = require("tslib");
  4. var environment_1 = tslib_1.__importDefault(require("./environment"));
  5. var file_manager_1 = tslib_1.__importDefault(require("./file-manager"));
  6. var url_file_manager_1 = tslib_1.__importDefault(require("./url-file-manager"));
  7. var less_1 = tslib_1.__importDefault(require("../less"));
  8. var less = less_1.default(environment_1.default, [new file_manager_1.default(), new url_file_manager_1.default()]);
  9. var lessc_helper_1 = tslib_1.__importDefault(require("./lessc-helper"));
  10. // allow people to create less with their own environment
  11. less.createFromEnvironment = less_1.default;
  12. less.lesscHelper = lessc_helper_1.default;
  13. less.PluginLoader = require('./plugin-loader').default;
  14. less.fs = require('./fs').default;
  15. less.FileManager = file_manager_1.default;
  16. less.UrlFileManager = url_file_manager_1.default;
  17. // Set up options
  18. less.options = require('../less/default-options').default();
  19. // provide image-size functionality
  20. require('./image-size').default(less.environment);
  21. exports.default = less;
  22. //# sourceMappingURL=index.js.map