diff options
author | dizzy <diosmosis@users.noreply.github.com> | 2022-02-18 06:44:51 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-18 06:44:51 +0300 |
commit | db890210edcbaec893a7bd4b624c65e6c96382b9 (patch) | |
tree | 817e3d3dadd1e5769eacdeb53725d0d85a463470 /plugins/CoreVue | |
parent | db1f2bbc968a3d7e5e4da5ce1c482625548742b6 (diff) |
Use jquery click method in ExpandOnClick since elements may have other click event handlers that jquery may not trigger. (#18808)
Diffstat (limited to 'plugins/CoreVue')
-rw-r--r-- | plugins/CoreVue/Commands/BuildPolyfill.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/CoreVue/Commands/BuildPolyfill.php b/plugins/CoreVue/Commands/BuildPolyfill.php index 902445b1cc..2a22b34288 100644 --- a/plugins/CoreVue/Commands/BuildPolyfill.php +++ b/plugins/CoreVue/Commands/BuildPolyfill.php @@ -41,7 +41,8 @@ class BuildPolyfill extends ConsoleCommand $dir = PIWIK_INCLUDE_PATH . '/plugins/CoreVue/polyfills'; foreach (['development', 'production'] as $env) { - $command = "cd '$dir' && " . Build::getVueCliServiceBin() . ' build --target app --mode ' . $env . ' --name MatomoPolyfills ./src/index.ts --dest ./dist'; + $command = "cd '$dir' && BROWSERSLIST_IGNORE_OLD_DATA=1 FORCE_COLOR=1 " . Build::getVueCliServiceBin() + . ' build --target app --mode ' . $env . ' --name MatomoPolyfills ./src/index.ts --dest ./dist'; if ($env == 'production') { $command .= ' --no-clean'; } |