@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.esm.js
CHANGED
|
@@ -1199,9 +1199,11 @@ const getPlatform = () => {
|
|
|
1199
1199
|
}
|
|
1200
1200
|
return "unknown";
|
|
1201
1201
|
};
|
|
1202
|
-
// Safe access to platform-specific APIs
|
|
1203
1202
|
const safeRequire = (moduleName) => {
|
|
1204
1203
|
try {
|
|
1204
|
+
if (typeof __non_webpack_require__ !== "undefined") {
|
|
1205
|
+
return __non_webpack_require__(moduleName);
|
|
1206
|
+
}
|
|
1205
1207
|
// eslint-disable-next-line no-undef, @typescript-eslint/no-require-imports
|
|
1206
1208
|
if (typeof require !== "undefined") {
|
|
1207
1209
|
// eslint-disable-next-line no-undef, @typescript-eslint/no-require-imports
|