Skip to content

Commit df11448

Browse files
authored
chore: remove webpack configurations from demo apps (#1302)
1 parent 26cc13e commit df11448

20 files changed

+20
-484
lines changed

.gitignore

Lines changed: 8 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,10 @@
1-
bin/dist
21
node_modules
2+
platforms
3+
hooks
34
tags
45
**/*.js.map
56
**/*.metadata.json
67

7-
/hooks
8-
98
/nativescript-angular/**/*.d.ts
109
/nativescript-angular/**/*.js
1110

@@ -23,24 +22,16 @@ npm-debug.log
2322
nativescript-angular*.tgz
2423
package-lock.json
2524

25+
# Apps' JS files
2626
tests/app/**/*.js
2727
tests/test-output.txt
28-
tests/platforms
29-
tests/lib
30-
tests/node_modules
31-
tests/hooks
32-
3328
ng-sample/app/**/*.js
34-
ng-sample/app/global.d.ts
35-
ng-sample/platforms
36-
ng-sample/lib
37-
ng-sample/node_modules
38-
ng-sample/hooks
39-
ng-sample/app/nativescript-angular
4029

41-
startup-test/platforms
42-
startup-test/lib
43-
startup-test/node_modules
30+
# Webpack configuration files
31+
webpack.config.js
32+
vendor.ts
33+
vendor-platform.android.ts
34+
vendor-platform.ios.ts
4435

4536
# IDEs and editors
4637
/.idea

e2e/modal-navigation-ng/app/vendor-platform.android.ts

Lines changed: 0 additions & 9 deletions
This file was deleted.

e2e/modal-navigation-ng/app/vendor-platform.ios.ts

Lines changed: 0 additions & 3 deletions
This file was deleted.

e2e/modal-navigation-ng/app/vendor.ts

Lines changed: 0 additions & 20 deletions
This file was deleted.

e2e/modal-navigation-ng/package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,15 +44,16 @@
4444
"lazy": "1.0.11",
4545
"nativescript-dev-appium": "next",
4646
"nativescript-dev-typescript": "next",
47-
"nativescript-dev-webpack": "next",
47+
"nativescript-dev-webpack": "^0.11.0",
4848
"nativescript-worker-loader": "~0.8.1",
4949
"raw-loader": "~0.5.1",
5050
"resolve-url-loader": "~2.2.1",
5151
"typescript": "~2.6.2",
5252
"uglifyjs-webpack-plugin": "~1.1.6",
5353
"webpack": "~3.10.0",
5454
"webpack-bundle-analyzer": "^2.9.1",
55-
"webpack-sources": "~1.1.0"
55+
"webpack-sources": "~1.1.0",
56+
"clean-webpack-plugin": "~0.1.19"
5657
},
5758
"scripts": {
5859
"e2e": "tsc -p e2e && mocha --opts ./e2e/config/mocha.opts",

e2e/modal-navigation-ng/webpack.config.js

Lines changed: 0 additions & 169 deletions
This file was deleted.

e2e/renderer/app/vendor-platform.android.ts

Lines changed: 0 additions & 9 deletions
This file was deleted.

e2e/renderer/app/vendor-platform.ios.ts

Lines changed: 0 additions & 1 deletion
This file was deleted.

e2e/renderer/app/vendor.ts

Lines changed: 0 additions & 20 deletions
This file was deleted.

e2e/renderer/package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
"mocha-multi": "^0.11.0",
4747
"nativescript-dev-appium": "next",
4848
"nativescript-dev-typescript": "~0.4.0",
49-
"nativescript-dev-webpack": "^0.9.2",
49+
"nativescript-dev-webpack": "^0.11.0",
5050
"nativescript-worker-loader": "~0.8.1",
5151
"raw-loader": "~0.5.1",
5252
"resolve-url-loader": "~2.2.1",
@@ -55,7 +55,8 @@
5555
"uglifyjs-webpack-plugin": "~1.1.6",
5656
"webpack": "~3.10.0",
5757
"webpack-bundle-analyzer": "^2.9.1",
58-
"webpack-sources": "~1.1.0"
58+
"webpack-sources": "~1.1.0",
59+
"clean-webpack-plugin": "~0.1.19"
5960
},
6061
"scripts": {
6162
"e2e": "tsc -p e2e && mocha --opts ../config/mocha.opts --recursive e2e --appiumCapsLocation ../config/appium.capabilities.json",

0 commit comments

Comments
 (0)