diff options
author | dizzy <diosmosis@users.noreply.github.com> | 2022-02-07 19:07:35 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-07 19:07:35 +0300 |
commit | 9e4ff620d1ba4c72da7ced6e0b5a46eb6ecf551e (patch) | |
tree | 1a181be283999539bf9f6dce323bfcf78b9ee8ff /plugins/CoreVue | |
parent | 1dd8569ba0279843b9e7b96f5712d34605530fbe (diff) |
Ignore warning from browserslist of old caniuse data (since this is updated on major matomo releases only). (#18749)
Diffstat (limited to 'plugins/CoreVue')
-rw-r--r-- | plugins/CoreVue/Commands/Build.php | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/plugins/CoreVue/Commands/Build.php b/plugins/CoreVue/Commands/Build.php index af31a8ec5c..e7294bd8f4 100644 --- a/plugins/CoreVue/Commands/Build.php +++ b/plugins/CoreVue/Commands/Build.php @@ -90,7 +90,8 @@ class Build extends ConsoleCommand private function watch($plugins, $printBuildCommand, OutputInterface $output) { - $commandSingle = "FORCE_COLOR=1 MATOMO_CURRENT_PLUGIN=%1\$s " . self::getVueCliServiceBin() . ' build --mode=development --target lib --name ' + $commandSingle = "BROWSERSLIST_IGNORE_OLD_DATA=1 FORCE_COLOR=1 MATOMO_CURRENT_PLUGIN=%1\$s " + . self::getVueCliServiceBin() . ' build --mode=development --target lib --name ' . "%1\$s --filename=%1\$s.development --no-clean ./plugins/%1\$s/vue/src/index.ts --dest ./plugins/%1\$s/vue/dist --watch &"; $command = ''; @@ -107,7 +108,8 @@ class Build extends ConsoleCommand private function buildFiles(OutputInterface $output, $plugin, $printBuildCommand) { - $command = "FORCE_COLOR=1 MATOMO_CURRENT_PLUGIN=$plugin " . self::getVueCliServiceBin() . ' build --target lib --name ' . $plugin + $command = "BROWSERSLIST_IGNORE_OLD_DATA=1 FORCE_COLOR=1 MATOMO_CURRENT_PLUGIN=$plugin " + . self::getVueCliServiceBin() . ' build --target lib --name ' . $plugin . " ./plugins/$plugin/vue/src/index.ts --dest ./plugins/$plugin/vue/dist"; if ($printBuildCommand) { |