Skip to content

Commit

Permalink
fix parsing externals
Browse files Browse the repository at this point in the history
  • Loading branch information
ricardo-devis-agullo committed Apr 4, 2024
1 parent b46ed4b commit df3b974
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
2 changes: 1 addition & 1 deletion tasks/compile.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit df3b974

Please sign in to comment.