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(terser): terser_minified should support .mjs files when running on directory #1264

Merged
merged 1 commit into from
Oct 11, 2019

Conversation

gregmagolan
Copy link
Collaborator

Directory mode should match file mode which already allows .mjs files

def _filter_js(files):
    return [f for f in files if f.is_directory or f.extension == "js" or f.extension == "mjs"]

…n directory

Directory mode should match file mode which already allows .mjs files

```
def _filter_js(files):
    return [f for f in files if f.is_directory or f.extension == "js" or f.extension == "mjs"]
```
@gregmagolan
Copy link
Collaborator Author

@alexeagle There are probably a few other rules that filter to allow only .js that probably need updating as well

@alexeagle alexeagle merged commit 6b09b51 into bazel-contrib:master Oct 11, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants