sliftutils 0.7.10 → 0.7.11

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.
@@ -12,6 +12,8 @@ export function bundleRequire(config: BundleRequireConfig) {
12
12
  versions: {},
13
13
  on: () => { },
14
14
  };
15
+ // Use production, for consistency (and so mobx doesn't break)
16
+ globalThis.process.env.NODE_ENV = globalThis.process.env.NODE_ENV || "production";
15
17
  (globalThis as any).window = (globalThis as any).window || globalThis;
16
18
  (globalThis as any).global = (globalThis as any).global || globalThis;
17
19
  (globalThis as any).setImmediate = (globalThis as any).setImmediate || globalThis.setTimeout;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sliftutils",
3
- "version": "0.7.10",
3
+ "version": "0.7.11",
4
4
  "main": "index.js",
5
5
  "license": "MIT",
6
6
  "scripts": {