diff --git a/Command/DumpCommand.php b/Command/DumpCommand.php index 2fa2041..8ad16e4 100644 --- a/Command/DumpCommand.php +++ b/Command/DumpCommand.php @@ -82,7 +82,7 @@ protected function initialize(InputInterface $input, OutputInterface $output): v { parent::initialize($input, $output); - $this->targetPath = $input->getArgument('target') ?: sprintf('%s/web/js', $this->projectDir); + $this->targetPath = $input->getArgument('target') ?: sprintf('%s/public/js', $this->projectDir); } protected function execute(InputInterface $input, OutputInterface $output): int diff --git a/Dumper/TranslationDumper.php b/Dumper/TranslationDumper.php index 7b5856a..ec30df4 100644 --- a/Dumper/TranslationDumper.php +++ b/Dumper/TranslationDumper.php @@ -125,7 +125,7 @@ public function addLoader($id, $loader) * @param \stdClass|null $merge Merge options. */ public function dump( - $target = 'web/js', + $target = 'public/js', $pattern = self::DEFAULT_TRANSLATION_PATTERN, array $formats = array(), ?\stdClass $merge = null