From 207cf36d541423f12a8d6680b21530c52a2f07d5 Mon Sep 17 00:00:00 2001 From: Mikhail Shipov Date: Fri, 4 Mar 2022 13:50:14 +0300 Subject: [PATCH] feat: re-export defaultGetLocalIdent (#1423) --- src/cjs.js | 2 ++ src/utils.js | 1 + 2 files changed, 3 insertions(+) diff --git a/src/cjs.js b/src/cjs.js index e45ad5d1..a3c39d42 100644 --- a/src/cjs.js +++ b/src/cjs.js @@ -1,3 +1,5 @@ const loader = require("./index"); +module.exports.defaultGetLocalIdent = require("./utils").defaultGetLocalIdent; + module.exports = loader.default; diff --git a/src/utils.js b/src/utils.js index 020cd370..85176b3b 100644 --- a/src/utils.js +++ b/src/utils.js @@ -1297,4 +1297,5 @@ export { camelCase, stringifyRequest, isDataUrl, + defaultGetLocalIdent, };