Releases: VirtoCommerce/vc-platform
Releases · VirtoCommerce/vc-platform
3.896.0
3.895.0
3.894.0
3.854.8
🎯 Development
- Update Microsoft.Identity.Client Package
3.832.16
🎯 Development
- Update Microsoft.Identity.Client Package
3.893.0
3.892.0
3.891.0
🎯 Development
- Prevent loading stale .html templates (#2916)
We recommend updating webpack.config.js in the custom module on new version of webpack.config.js. A new version packs .html templates into dist\app.js to prevent loading stale .html templates. Development mode will still read the HTML file from disk.
🎯 Development
- Added `platformWebApp.dynamicTemplateService` that allows to ensure that the template is loaded and compiled, regardless of cache status and override an existing template with a custom one. (#2916)
Use ensureTemplateLoaded to ensure that the template is already loaded:
dynamicTemplateService.ensureTemplateLoaded('Modules/$(VirtoCommerce.Marketing)/Scripts/dynamicConditions/templates.html');Use overrideTemplate to override the template from extension:
dynamicTemplateService.overrideTemplate('Modules/$(VirtoCommerce.Marketing)/Scripts/dynamicConditions/templates.html', 'ExtensionModules/$(MyCommerce.Marketing)/Scripts/dynamicConditions/templates.html');