core-app-worona
Advanced tools
Comparing version 1.5.20 to 1.5.21
@@ -29,9 +29,7 @@ /* eslint-disable no-undef, no-console, no-underscore-dangle, no-alert, no-constant-condition */ | ||
'src', | ||
`${htmlWebpackPlugin.options.publicPath}${htmlWebpackPlugin.options.vendorsFile}` | ||
`${window.__webpack__.publicPath}${window.__webpack__.vendorsFile}` | ||
); | ||
document.body.appendChild(vendors); | ||
console.log('=> Loading vendors.'); | ||
window.htmlWebpackPlugin.files.chunks.forEach(chunk => { | ||
core.setAttribute('src', htmlWebpackPlugin.files.chunks[chunk].entry); | ||
}); | ||
core.setAttribute('src', window.__webpack__.coreFile); | ||
vendors.onload = () => { | ||
@@ -62,3 +60,3 @@ console.log('=> Vendors loaded. Loading core.'); | ||
{ | ||
'config-file': `https://${htmlWebpackPlugin.options.cdn}.worona.io/api/v1/chcp/site/${window.__woronaSiteId__}/chcp.json`, | ||
'config-file': `https://${window.__webpack__.cdn}.worona.io/api/v1/chcp/site/${window.__woronaSiteId__}/chcp.json`, | ||
} | ||
@@ -65,0 +63,0 @@ ); |
{ | ||
"name": "core-app-worona", | ||
"version": "1.5.20", | ||
"version": "1.5.21", | ||
"description": "Core Package of Worona App", | ||
@@ -5,0 +5,0 @@ "scripts": { |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
273897
1543