diff --git a/package.json b/package.json index c200642..96a27d3 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "oc-client-browser", - "version": "1.7.10", + "version": "1.7.11", "description": "OC browser client", "main": "index.js", "types": "index.d.ts", diff --git a/tasks/compile.js b/tasks/compile.js index 46a8947..ccbf77f 100644 --- a/tasks/compile.js +++ b/tasks/compile.js @@ -64,7 +64,7 @@ function getFiles({ sync = false, conf = {} }) { '__REGISTERED_TEMPLATES_PLACEHOLDER__', JSON.stringify(registeredTemplates) ) - .replaceAll('__EXTERNALS__', conf.externals || '[]') + .replaceAll('__EXTERNALS__', JSON.stringify(conf.externals || [])) .replaceAll('__DEFAULT_RETRY_LIMIT__', conf.retryLimit || 30) .replaceAll('__DEFAULT_RETRY_INTERVAL__', conf.retryInterval || 5000);