UNPKG

@atlassian/wrm-troubleshooting

Version:

A tool that can help you with troubleshooting the configuration of webpack and Atlassian P2 project.

17 lines 662 B
"use strict"; var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; Object.defineProperty(exports, "__esModule", { value: true }); exports.globWithOptions = globWithOptions; 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 ?? {}), }); } //# sourceMappingURL=globWithOptions.js.map