Commit Graph

176 Commits

Author SHA1 Message Date
Igor Randjelovic
0601ca763b fix: watchIgnore should be a full path 2021-04-14 15:14:55 +02:00
Igor Randjelovic
4f8522f5d4 refactor: simplify App_Resource exclusions 2021-04-14 15:09:33 +02:00
Igor Randjelovic
582f161dd9 Merge branch 'feat/webpack5' of https://github.com/NativeScript/NativeScript into feat/webpack5 2021-04-14 14:58:50 +02:00
Igor Randjelovic
f053403d8d fix: don't externalize node built-ins 2021-04-14 14:58:44 +02:00
Martin Guillon
eec2319ac6 fix: prevent App_Resources from being copied (#9325)
to assets
2021-04-12 14:25:56 +02:00
Igor Randjelovic
0f5b127c1a chore: remove unused import 2021-04-12 12:52:41 +02:00
Igor Randjelovic
cfd98d3674 feat: sourceMap improvements 2021-04-12 12:51:41 +02:00
Nathanael Anderson
482b7b11f6 fix: use acorn and drop babel-loader by default (#9320) 2021-04-12 11:38:06 +02:00
Igor Randjelovic
279b0b1d20 fix: terser options 2021-04-06 15:44:51 +02:00
Igor Randjelovic
6afd5a65c3 fix(angular): styleURLs 2021-04-06 15:44:38 +02:00
Igor Randjelovic
ca04224906 chore: update snapshots 2021-04-05 15:28:18 +02:00
Igor Randjelovic
ef00b434ef chore: rename exclusion 2021-04-05 15:28:08 +02:00
Igor Randjelovic
458c4eba88 fix: context regext to match the dot, exclude .d.ts 2021-04-05 15:27:48 +02:00
Igor Randjelovic
13b3364e62 fix: exclude App_Resources from context
fixes #9299
2021-04-05 15:27:12 +02:00
Igor Randjelovic
d8067a553f fix: resolving loaders from non-hoisted deps 2021-04-02 14:53:04 +02:00
Igor Randjelovic
1627f52043 feat: warnOnce & graceful error handling 2021-04-01 17:55:45 +02:00
Igor Randjelovic
7edb1e90b0 fix: copy stubs step 2021-04-01 17:55:21 +02:00
Igor Randjelovic
fb2c291063 feat: look for loaders in project node_modules first 2021-04-01 17:55:11 +02:00
Igor Randjelovic
1025270fad fix: node_module resolution when using relative packages 2021-04-01 17:00:19 +02:00
Igor Randjelovic
de13357a09 chore: fix tests 2021-03-31 21:33:30 +02:00
Martin Guillon
a7771cc8ab fix: read __CSS_PARSER__ from config (#9290)
* fix: read __CSS_PARSER__ from config

* fix: missing import and default value

* imports order
2021-03-31 21:27:29 +02:00
Igor Randjelovic
c2aca14dd5 chore: pin deps 2021-03-30 23:52:16 +02:00
Igor Randjelovic
bfd50f27c7 chore: use relative import for app.s?css 2021-03-30 23:52:03 +02:00
Igor Randjelovic
f7530fe4e1 fix: app-css-loader to look for platform specific app s?css files too 2021-03-30 14:34:30 +02:00
Igor Randjelovic
0999d6fe3e feat: app-css-loader & suppress env warning in ng projects 2021-03-29 22:17:29 +02:00
Igor Randjelovic
7d5f4a48ac feat: drop webpack-filter-warnings-plugin in favor of built-in ignoreWarnings 2021-03-29 13:59:33 +02:00
Igor Randjelovic
687bc641a5 fix: fileReplacements should be relative to app root 2021-03-29 13:59:09 +02:00
Igor Randjelovic
fd5f4a023f chore: drop unused env flags 2021-03-29 13:58:43 +02:00
Igor Randjelovic
c2297464bc fix: print errorDetails with env.verbose 2021-03-29 13:58:22 +02:00
Igor Randjelovic
44c8ef9993 fix: make nsv template compiler optional 2021-03-29 13:57:55 +02:00
Igor Randjelovic
c922e77129 style: run prettier on webpack5 files 2021-03-29 01:24:23 +02:00
Igor Randjelovic
c55782bfaf chore: clean up unused code 2021-03-29 01:20:43 +02:00
Nathan Walker
7594d00ed9 feat: env based replacements (#9286)
* feat: file replacement handling for TS and pure file copy replacements

* test: add tests for replacements & refactor a bit

Co-authored-by: Igor Randjelovic <rigor789@gmail.com>
2021-03-29 01:13:51 +02:00
Igor Randjelovic
0b32d5a88d fix: hmr runtime for core/ts 2021-03-28 23:04:15 +02:00
Igor Randjelovic
78ad71db6c test: update snapshots 2021-03-28 19:48:44 +02:00
Igor Randjelovic
f8cc505a94 fix: look for tsconfig.app.json in ng projects 2021-03-28 19:39:41 +02:00
Igor Randjelovic
6dc0c7e285 chore: clean up HMR runtime 2021-03-28 19:39:22 +02:00
Igor Randjelovic
b2a636e307 chore: clean up old WatchStateLoggerPlugin 2021-03-26 23:20:27 +01:00
Igor Randjelovic
b7da9d573f chore: cleanup 2021-03-26 22:58:49 +01:00
Igor Randjelovic
75e6009b8a chore: implement basic devServer 2021-03-26 22:16:36 +01:00
Igor Randjelovic
bb23bca3ce chore: bump deps 2021-03-26 22:15:35 +01:00
Igor Randjelovic
8855ca4373 chore: HMRRuntime injection (wip) 2021-03-24 17:27:35 +01:00
Igor Randjelovic
3a28f9eef6 fix: patch vue-loader for hmr 2021-03-12 16:08:28 +01:00
Igor Randjelovic
6cc0ce3d57 feat: core-hmr handling & watch ignore 2021-03-11 23:05:47 +01:00
Igor Randjelovic
0e8336f1d9 chore: cleanup imports 2021-03-11 16:28:11 +01:00
Igor Randjelovic
da25b30992 chore: cleanup 2021-03-11 16:22:12 +01:00
Igor Randjelovic
437c3b41f9 feat: support workspace configs 2021-03-11 16:19:05 +01:00
Igor Randjelovic
0353d68781 chore: bump deps & drop clean-webpack-plugin in favor of clean:true 2021-03-09 18:45:28 +01:00
Igor Randjelovic
d2abd58174 feat: add worker support 2021-03-07 19:33:52 +01:00
Igor Randjelovic
02d2befc8a refactor: simplify project file lookup 2021-03-07 19:33:42 +01:00