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

Commit

Permalink
Release 0.19.2 (#785) (#786)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
SvetoslavTsenov committed Feb 1, 2019
1 parent 3362cd6 commit 5950e79
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
10 changes: 10 additions & 0 deletions CHANGELOG.md
@@ -1,3 +1,13 @@
<a name="0.19.2"></a>
## [0.19.2](https://github.com/NativeScript/nativescript-dev-webpack/compare/0.19.1...0.19.2) (2019-02-01)


### Bug Fixes

* optimize platform specific files resolver ([#782](https://github.com/NativeScript/nativescript-dev-webpack/issues/782)) ([fb52c53](https://github.com/NativeScript/nativescript-dev-webpack/commit/fb52c53))



<a name="0.19.1"></a>
## [0.19.1](https://github.com/NativeScript/nativescript-dev-webpack/compare/0.19.0...0.19.1) (2019-01-28)

Expand Down
2 changes: 1 addition & 1 deletion package.json
@@ -1,6 +1,6 @@
{
"name": "nativescript-dev-webpack",
"version": "0.19.1",
"version": "0.19.2",
"main": "index",
"description": "",
"homepage": "http://www.telerik.com",
Expand Down

0 comments on commit 5950e79

Please sign in to comment.