theprogrammablemind_4wp 7.7.0-beta.14 → 7.7.0-beta.16
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
@@ -984,7 +984,11 @@ class Config {
|
|
984
984
|
const query = queryOrConfig
|
985
985
|
return query
|
986
986
|
} else if (typeof queryOrConfig == 'function') {
|
987
|
-
|
987
|
+
if (options.isModule) {
|
988
|
+
return { apply: 'function in the browser has webpack rewrites so can not be compared' }
|
989
|
+
} else {
|
990
|
+
return { apply: queryOrConfig.toString() }
|
991
|
+
}
|
988
992
|
} else if (queryOrConfig.apply) {
|
989
993
|
if (options.isModule) {
|
990
994
|
return { apply: 'function in the browser has webpack rewrites so can not be compared' }
|