@atlassian/wrm-troubleshooting
Version:
A tool that can help you with troubleshooting the configuration of webpack and Atlassian P2 project.
18 lines • 693 B
JavaScript
;
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.globWithOptions = void 0;
const glob_promise_1 = __importDefault(require("glob-promise"));
const DEFAULT_IGNORED = ['**/node_modules/**', '**/target/**', '**/dist/**'];
async function globWithOptions(pattern, options = {}) {
return (0, glob_promise_1.default)(pattern, {
nodir: true,
ignore: DEFAULT_IGNORED,
absolute: true,
...options,
});
}
exports.globWithOptions = globWithOptions;
//# sourceMappingURL=globWithOptions.js.map