From ab4e8129d5c94ff96e6c85d0d2b66a04a052b4e5 Mon Sep 17 00:00:00 2001 From: HelenHuang <LinHuang@pollex.com.tw> Date: 星期四, 09 六月 2022 15:26:15 +0800 Subject: [PATCH] TODO#139888 嚴選配對 - 文案修改 --- PAMapp/node_modules/style-resources-loader/lib/utils/match-files.js | 13 ++++++------- 1 files changed, 6 insertions(+), 7 deletions(-) diff --git a/PAMapp/node_modules/style-resources-loader/lib/utils/match-files.js b/PAMapp/node_modules/style-resources-loader/lib/utils/match-files.js index ad872f0..c6f67c3 100644 --- a/PAMapp/node_modules/style-resources-loader/lib/utils/match-files.js +++ b/PAMapp/node_modules/style-resources-loader/lib/utils/match-files.js @@ -1,12 +1,10 @@ "use strict"; -var __importDefault = (this && this.__importDefault) || function (mod) { - return (mod && mod.__esModule) ? mod : { "default": mod }; -}; Object.defineProperty(exports, "__esModule", { value: true }); exports.matchFiles = void 0; -const path_1 = __importDefault(require("path")); -const util_1 = __importDefault(require("util")); -const glob_1 = __importDefault(require("glob")); +const tslib_1 = require("tslib"); +const path_1 = (0, tslib_1.__importDefault)(require("path")); +const util_1 = (0, tslib_1.__importDefault)(require("util")); +const glob_1 = (0, tslib_1.__importDefault)(require("glob")); const type_guards_1 = require("./type-guards"); const isLegacyWebpack = (ctx) => !!ctx.options; const getRootContext = (ctx) => { @@ -19,7 +17,7 @@ const emptyItems = []; return emptyItems.concat(...items); }; -exports.matchFiles = async (ctx, options) => { +const matchFiles = async (ctx, options) => { const { patterns, globOptions } = options; const files = await Promise.all(patterns.map(async (pattern) => { const rootContext = getRootContext(ctx); @@ -29,4 +27,5 @@ })); return [...new Set(flatten(files))].map(file => path_1.default.resolve(file)); }; +exports.matchFiles = matchFiles; //# sourceMappingURL=match-files.js.map \ No newline at end of file -- Gitblit v1.8.0