theprogrammablemind 7.7.0-beta.12 → 7.7.0-beta.14
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/package.json +1 -1
- package/src/config.js +6 -0
package/package.json
CHANGED
package/src/config.js
CHANGED
@@ -985,6 +985,12 @@ class Config {
|
|
985
985
|
return query
|
986
986
|
} else if (typeof queryOrConfig == 'function') {
|
987
987
|
return { apply: queryOrConfig.toString() }
|
988
|
+
} else if (queryOrConfig.apply) {
|
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
|
+
}
|
988
994
|
} else {
|
989
995
|
const config = { ...queryOrConfig }
|
990
996
|
delete config.where
|