theprogrammablemind_4wp 7.7.0-beta.13 → 7.7.0-beta.14
Sign up to get free protection for your applications and to get access to all the features.
- package/package.json +1 -1
- package/src/config.js +5 -1
package/package.json
CHANGED
package/src/config.js
CHANGED
@@ -986,7 +986,11 @@ class Config {
|
|
986
986
|
} else if (typeof queryOrConfig == 'function') {
|
987
987
|
return { apply: queryOrConfig.toString() }
|
988
988
|
} else if (queryOrConfig.apply) {
|
989
|
-
|
989
|
+
if (options.isModule) {
|
990
|
+
return { apply: 'function in the browser has webpack rewrites so can not be compared' }
|
991
|
+
} else {
|
992
|
+
return { apply: queryOrConfig.apply }
|
993
|
+
}
|
990
994
|
} else {
|
991
995
|
const config = { ...queryOrConfig }
|
992
996
|
delete config.where
|