register extensions execute all js files
Open
- Dominant language
- Python
- Stars
- 133k
- Forks
- 15.7k
- Avg merge
- 1d 7h
- Merged PRs (30d)
- 158
Description
Now new custom_nodes extensions execute all JavaScript files under extension directory, and all sub directorys.
this is code rsponsible for this:
```
@routes.get("/extensions")
async def get_extensions(request):
files = glob.glob(os.path.join(
glob.escape(self.web_root), 'extensions/**/*.js'), recursive=True)
```
i think this would be better to execute only one js start entry point, or not execute js in subdirectory, or create some special directory where js will be not executed, in other case i have a problem with workingwith my other projects js files which should not be bootstraped automatically by application.
Contributor guide
Assessment
This issue has not been assessed yet.