64 Commits

Author SHA1 Message Date
0ef4a37c3b chore: rename variable per comments 2021-01-05 16:11:04 +01:00
7f31cb3d95 Merge branch 'webpack5_refactor' of github.com:Akylas/NativeScript into webpack5_refactor 2021-01-05 15:50:47 +01:00
79537d9c0c chore: variable rename 2021-01-05 15:46:35 +01:00
d2342de862 Update packages/webpack5/src/helpers/flavor.ts
Co-authored-by: Igor Randjelovic <rigor789@gmail.com>
2021-01-05 13:46:31 +01:00
0de6451b9f chore: refactor to allow Webpack to bundle only what s necessary.
* added define variable for UI custom flavors allowing flavors to remove unecessary code (builder)
* added define variable to disable XML parser (enabled by default to not break anything)

# Conflicts:
#	packages/core/ui/styling/style-scope.ts
2021-01-05 10:41:18 +01:00
c3efab3abc refactor: simplify copy handling 2021-01-02 16:27:00 +01:00
68f3e728a6 chore: tweaks & fixes (#9109)
* fix: correct bundle analyzer settings

* fix: svelte config fix

* fix: CopyWebpackPlugin fixed ignore

* chore: tabs fix
2020-12-23 20:04:22 +01:00
de5f67f7c8 chore: add JSDocs 2020-12-08 12:07:42 +01:00
d21776079f chore: cleanup 2020-12-07 15:01:17 +01:00
2f39cf5ed6 feat: extract platforms 2020-12-07 13:41:22 +01:00
7df2f09cfc feat: add postcss-loader by default 2020-12-03 10:45:30 +01:00
fa70654bfc feat: addCopyRule removeCopyRule helpers 2020-12-01 20:23:56 +01:00
5dad44a8e3 chore: cleanup 2020-12-01 19:51:07 +01:00
016ecd19a8 chore: organize test files 2020-12-01 19:25:29 +01:00
65b214b845 feat: platform suffix resolution [wip] 2020-11-30 19:02:30 +01:00
ca78bc5ae8 feat: add entryDir helper + update aliases 2020-11-29 17:44:36 +01:00
6e0407e5e8 fix: xml namespace loader test 2020-11-28 21:35:51 +01:00
5b182c0d5f feat: ported xml-namespace-loader 2020-11-28 21:26:16 +01:00
803958266d feat: webpackChain options
Implement { last: true }
2020-11-25 18:46:25 +01:00
d9a93040fe feat: initial angular support + clean up tests 2020-11-25 17:44:00 +01:00
015d337e2a feat: add ForkTsChecker 2020-11-25 12:41:45 +01:00
1ede4dbf5f fix: supress A11y warnings for svelte 2020-11-24 14:13:42 +01:00
86a46b46cd fix: svelte and css2json-loader 2020-11-23 19:13:45 +01:00
00a1cb5fc6 feat: svelte config (#9061)
* wip: svelte webpack5

* added project svelte config

* svelte snapshot
2020-11-23 18:13:05 +01:00
e544b4506f feat: add micro cli for initializing the config 2020-11-23 16:27:33 +01:00
31d560f75b chore: organize imports 2020-11-23 15:25:39 +01:00
30c31a252b fix: sass + add copy plugin 2020-11-23 15:11:36 +01:00
f09d746cc5 fix: sass handling 2020-11-23 13:55:44 +01:00
f937940902 wip: better IPC messaging with the CLI 2020-11-22 23:57:37 +01:00
f6636367ee fix: emittedFiles 2020-11-22 17:57:39 +01:00
9053cb6688 test: add merge tests 2020-11-22 16:52:33 +01:00
2f5cd2bb85 feat: apply-css-loader hmr code 2020-11-22 16:05:30 +01:00
241c4102f7 feat: make react config functional 2020-11-22 15:51:12 +01:00
403fa6b30f fix: load globals first 2020-11-22 14:54:26 +01:00
741d4b242b feat: export Utils 2020-11-22 14:01:41 +01:00
39949182ea feat: add merging logic 2020-11-22 13:19:32 +01:00
573d936976 refactor: clean up logging 2020-11-22 13:19:23 +01:00
b2b06bade7 chore: remove console.log 2020-11-22 13:19:00 +01:00
b29918f5a8 fix: NativeClass transformer import 2020-11-22 13:18:52 +01:00
fe0d6403a5 fix: use compiler object 2020-11-22 13:18:37 +01:00
e1e6476490 chore: bump cli-highlight 2020-11-22 13:18:10 +01:00
46853d2c83 feat: external config loading
+refactor many pieces
2020-11-21 13:34:09 +01:00
b1bc2640db refactor: improve css2json and apply-css loaders
optimize vendor chunks
2020-11-20 22:49:53 +01:00
288444c05c feat: css loading 2020-11-20 19:56:54 +01:00
fa879ba49f fix: clean path should be absolute 2020-11-20 13:02:49 +01:00
e23c8356af refactor: move getPlatform to helpers 2020-11-19 22:20:48 +01:00
054d4e6f87 chore: add types for terser plugin 2020-11-19 21:52:38 +01:00
8af4c4b6f6 chore: add comments 2020-11-19 21:49:34 +01:00
72a87c5d2c chore: more base configuration 2020-11-19 21:45:16 +01:00
4518cfa31b chore: scaffold config auto-discovery 2020-11-18 20:36:54 +01:00