Skip to content
This repository was archived by the owner on Aug 7, 2021. It is now read-only.

Release 0.19.2 #785

Merged
merged 3 commits into from
Feb 1, 2019
Merged

Release 0.19.2 #785

merged 3 commits into from
Feb 1, 2019

Conversation

SvetoslavTsenov
Copy link
Contributor

No description provided.

ventsislav-georgiev and others added 2 commits February 1, 2019 09:58
## 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"]`
@SvetoslavTsenov
Copy link
Contributor Author

test package_version#latest

@SvetoslavTsenov SvetoslavTsenov merged commit 3a56a92 into release Feb 1, 2019
@SvetoslavTsenov SvetoslavTsenov deleted the release-0.19.2 branch February 1, 2019 10:42
SvetoslavTsenov added a commit that referenced this pull request Feb 1, 2019
* 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
SvetoslavTsenov added a commit that referenced this pull request Feb 1, 2019
* 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
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants