text: "use strict";
  var __importDefault = (this && this.__importDefault) || function (mod) {
      return (mod && mod.__esModule) ? mod : { "default": mod };
  };
  Object.defineProperty(exports, "__esModule", { value: true });
  exports.transformer = void 0;
  const less_1 = __importDefault(require("less"));
  const utils_1 = require("../modules/utils");
  const transformer = async ({ content, filename, options = {}, }) => {
      options = {
          paths: utils_1.getIncludePaths(filename, options.paths),
          ...options,
      };
      const { css, map, imports } = await less_1.default.render(content, {
          sourceMap: {},
          filename,
          ...options,
      });
      return {
          code: css,
          map,
          dependencies: imports,
      };
  };
  exports.transformer = transformer;
  