|
|
@@ -8,7 +8,8 @@ if (process.env.NODE_ENV !== 'production') {
|
|
|
const allowedGlobals = makeMap(
|
|
|
'Infinity,undefined,NaN,isFinite,isNaN,' +
|
|
|
'parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,' +
|
|
|
- 'Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl'
|
|
|
+ 'Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,' +
|
|
|
+ 'require' // for Webpack/Browserify
|
|
|
)
|
|
|
|
|
|
hasProxy =
|