You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 7, 2021. It is now read-only.
* fix: optimize platform specific files resolver (#782)
## What is the current behavior?
The platform specific files resolver for `.tns`, `.ios`, `.android` files is having performance issues on webpack and seems to break (make it run very slow like its for the first time) the incremental compilation. This is happening in big projects with many files in the `node_modules` directory, as the current implementation makes a file system call for each file.
## What is the new behavior?
The resolver now handles only the files that are considered to support platform specific names e.g:
* packages in `node_modules` with `nativescript`, `tns` or `ns` anywhere in the name
* only files with following extensions: `[".ts", ".js", ".scss", ".less", ".css", ".html", ".xml", ".vue", ".json"]`
* release: cut the 0.19.2 release
* docs: update changelog
0 commit comments