Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

feat: allow for command arguments #161

Merged
merged 2 commits into from
Dec 3, 2021
Merged

feat: allow for command arguments #161

merged 2 commits into from
Dec 3, 2021

Conversation

innocenzi
Copy link
Owner

With this PR, commands defined in vite.commands can accept arguments. For this, an array need to be used instead of a string:

'commands' => [
    ['ziggy:generate', 'resources/ziggy-generated-routes.js'],
    'vite:aliases',
    'typescript:generate',
    'i18n:generate',
],

@innocenzi innocenzi merged commit 6c72ca0 into main Dec 3, 2021
@innocenzi innocenzi deleted the feat/command-args branch December 3, 2021 11:52
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant