mobx 5.15.3 → 5.15.4
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/CHANGELOG.md +4 -0
- package/lib/index.js +7 -0
- package/lib/mobx.es6.js +142 -93
- package/lib/mobx.js +1 -1
- package/lib/mobx.module.js +142 -93
- package/lib/mobx.umd.js +142 -93
- package/package.json +3 -3
package/lib/mobx.js
CHANGED
|
@@ -4495,7 +4495,7 @@ catch (e) {
|
|
|
4495
4495
|
function testCodeMinification() { }
|
|
4496
4496
|
if (testCodeMinification.name !== "testCodeMinification" &&
|
|
4497
4497
|
"development" !== "production" &&
|
|
4498
|
-
process.env.IGNORE_MOBX_MINIFY_WARNING !== "true") {
|
|
4498
|
+
typeof process !== 'undefined' && process.env.IGNORE_MOBX_MINIFY_WARNING !== "true") {
|
|
4499
4499
|
// trick so it doesn't get replaced
|
|
4500
4500
|
var varName = ["process", "env", "NODE_ENV"].join(".");
|
|
4501
4501
|
console.warn("[mobx] you are running a minified build, but '" + varName + "' was not set to 'production' in your bundler. This results in an unnecessarily large and slow bundle");
|