diff --git a/npm-install.py b/npm-install.py index 653b92a..d02f82d 100644 --- a/npm-install.py +++ b/npm-install.py @@ -24,7 +24,7 @@ def is_valid(view): - return view.file_name() != None and view.file_name().endswith('.js') + return view.file_name() != None and view.file_name().endswith(('.js', '.jsx')) def exec(args, pn): if sys.platform != 'win32':