@iblai/web-utils 1.1.3 → 1.1.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.esm.js +3 -1
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +3 -1
- package/dist/index.js.map +1 -1
- package/dist/package.json +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1219,9 +1219,11 @@ const getPlatform = () => {
|
|
|
1219
1219
|
}
|
|
1220
1220
|
return "unknown";
|
|
1221
1221
|
};
|
|
1222
|
-
// Safe access to platform-specific APIs
|
|
1223
1222
|
const safeRequire = (moduleName) => {
|
|
1224
1223
|
try {
|
|
1224
|
+
if (typeof __non_webpack_require__ !== "undefined") {
|
|
1225
|
+
return __non_webpack_require__(moduleName);
|
|
1226
|
+
}
|
|
1225
1227
|
// eslint-disable-next-line no-undef, @typescript-eslint/no-require-imports
|
|
1226
1228
|
if (typeof require !== "undefined") {
|
|
1227
1229
|
// eslint-disable-next-line no-undef, @typescript-eslint/no-require-imports
|