Skip to content
Snippets Groups Projects
Commit fe61b7ce authored by thinkingcap's avatar thinkingcap Committed by Julian Pustkuchen
Browse files

Issue #3480155: vue.runtime.global.js is back after changing from local to CDN in settings

parent f7d31d2f
No related branches found
No related tags found
1 merge request!7Issue #3480155: Remove 'runtime' from the vue filename
......@@ -248,7 +248,7 @@ final class SettingsForm extends ConfigFormBase {
// Check the set settings and update config as necessary.
$vueSettings = $form_state->getValue('vue');
$vueRuntimeFilename = $vueSettings['development'] && $vueSettings['installation'] == 'local' ? 'vue.runtime.global.js' : 'vue.runtime.global.prod.js';
$vueRuntimeFilename = $vueSettings['development'] && $vueSettings['installation'] == 'local' ? 'vue.global.js' : 'vue.global.prod.js';
$vueSettings['path'] = '/libraries/vue/dist/' . $vueRuntimeFilename;
// Set the path for the given CDN.
if ($vueSettings['installation'] == 'cdn') {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment