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

Update cli.js, added --extensions cli arg #368

Closed
wants to merge 2 commits into from
Closed

Update cli.js, added --extensions cli arg #368

wants to merge 2 commits into from

Conversation

xorcus
Copy link

@xorcus xorcus commented Feb 3, 2015

When using Webpack's enhanced-require, .jsx files can be transformed into .js files by require(), so it would be useful to support choosing arbitrary file name extensions (e.g. allow for (js|jsx))

Please consider merging

[edit]: here's a workaround to also include .jsx spec files, but it does not look very pretty as --extensions "js|jsx" would:
--matchall --match "(jsx?)$|"

When using Webpack's enhanced-require, .jsx files can be transformed into .js files by require(), so it would be useful to support choosing arbitrary file name extensions (e.g. allow for (js|jsx))

Please consider merging
--watch patterns should match the 'extensions'
@davidagraf
Copy link

+1

@xorcus
Copy link
Author

xorcus commented Feb 10, 2019

old

@xorcus xorcus closed this Feb 10, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants