Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Fix excludeRegex option and allow dotfiles to be packaged #780

Merged
merged 3 commits into from
Apr 26, 2021

Conversation

j0k3r
Copy link
Member

@j0k3r j0k3r commented Apr 9, 2021

Supersed #777 (thanks @l1b3r!)
Fix #776
Fix #744

Most improvement on how exclude regex is working.
A message will now be logged in verbose mode so the user will know how many files were excluded (if any). It'll be easier to debug.

The zip command now receive a list of files to zip. It'll solve the dotfiles problem because we were using * as pattern to find files but this pattern does not include dotfiles by default (see #744).

@j0k3r j0k3r added this to the 5.4.2 milestone Apr 9, 2021
@j0k3r j0k3r requested review from miguel-a-calles-mba and a team April 9, 2021 09:15
@j0k3r j0k3r force-pushed the fix/exclude-regex branch from 058c8dc to 75196f4 Compare April 9, 2021 09:35
@l1b3r
Copy link

l1b3r commented Apr 9, 2021

LGTM, looking forward for this to go live. This little yet useful feature can alleviate quite some amount of custom wizardry in Webpack config to make sure e.g. source maps don't end up bundled into the deploy packages 👍

Nikolay Dolzhenkov and others added 3 commits April 12, 2021 21:34
Also:
- dump a message to log how files were excluded (might be good for debugging)
- update unit test to actually match the type of `excludeRegex` from the configuration (which is not a regex but a string)
@j0k3r j0k3r force-pushed the fix/exclude-regex branch from 75196f4 to 50b9510 Compare April 12, 2021 19:35
@j0k3r
Copy link
Member Author

j0k3r commented Apr 22, 2021

👋@miguel-a-calles-mba

@miguel-a-calles-mba
Copy link
Member

Whoops. I missed the email notifications. Sorry about that, @j0k3r.

@j0k3r j0k3r merged commit af7acce into master Apr 26, 2021
@j0k3r j0k3r deleted the fix/exclude-regex branch April 26, 2021 04:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants