239 Commits

Author SHA1 Message Date
Jack Hsu
ce4889a3e9
fix(webpack): migrate projects without webpackConfig to use webpack.config.js (#20699) 2023-12-11 15:08:06 -05:00
Katerina Skroumpelou
f04ed1f24a
fix(nuxt): correct outputs for nuxt and vite (#20627) 2023-12-07 08:45:08 -05:00
Jack Hsu
7ffc3284f6
fix(webpack): ensure webpack config is always at the latest version when running in the daemon (#20618) 2023-12-06 17:08:24 -05:00
Jack Hsu
3493c7899b
fix(core): add 'dependsOn' property in when inferring build targets via plugins (#20614) 2023-12-06 16:39:06 -05:00
Jack Hsu
ab8c9298be
feat(core): targets inferred from plugins override targetDefaults (#20586) 2023-12-06 10:47:53 +02:00
Tycho Bokdam
a08fdf0e36
fix(webpack): Fixed libraryTarget option not being set for node targets (#20505) 2023-12-04 08:39:31 -05:00
Katerina Skroumpelou
83db767b27
feat(vite): nodes for build, serve, test, preview targets (#20086) 2023-11-30 15:56:16 -05:00
Jack Hsu
d051abc355
fix(webpack): infer serve-static target correctly from plugin (#20511) 2023-11-30 20:52:37 +02:00
Jack Hsu
507fe42e4f
feat(webpack): add plugin to automatically configure build and serve targets (#20243) 2023-11-28 13:01:03 -05:00
Emily Xiong
f72c93ef51
fix(webpack): should not extract css when extractCss is false (#20415) 2023-11-27 17:32:41 -05:00
Emily Xiong
a57122d47c
fix(webpack): change fileReplacements to absolute path (#20433) 2023-11-27 13:52:20 -05:00
Jack Hsu
a22c4221a0
fix(webpack): set isolatedConfig to true by default (#20281) 2023-11-22 11:32:16 -05:00
Jack Hsu
000c98cd00
fix(webpack): maintain entry arrays that are accessed from within composePlugins() (#20187) 2023-11-10 13:20:58 -05:00
Colum Ferry
a73e9fd562
feat(module-federation): use single file-server for static remotes (#20006) 2023-11-10 11:25:09 -05:00
Jack Hsu
395eb70336
feat(webpack): add NxWebpackPlugin that works with normal Webpack configuration (#19984) 2023-11-08 11:03:34 -05:00
Colum Ferry
8ec589d0b9
fix(angular): extract remotes from manifest correctly #19880 (#19894) 2023-10-31 10:28:41 -04:00
Jack Hsu
742b9a1bcb
fix(webpack): add back deprecated Stylus support until v18 (#19810) 2023-10-23 16:15:30 -06:00
Colum Ferry
97fac1b0b4
feat(react): add recursive remote serve (#19638) 2023-10-17 14:33:28 +01:00
Colum Ferry
80fde79374
feat(misc): remove deprecated Angular CLI usage of schematics and builders (#19557) 2023-10-13 17:14:16 +01:00
Emily Xiong
6e2dba9c9e
bugfix(react): fix react module federation with ssr (#19565) 2023-10-13 10:58:50 -04:00
Jack Hsu
72df463c72
fix(webpack): only register TS transpiler for config files ending with .ts, .mts, or .cts (#19579) 2023-10-12 14:28:25 -04:00
Jack Hsu
8826a7737d
feat(react): remove stylus option from generators (#19441) 2023-10-12 12:49:45 -04:00
Colum Ferry
14643b68b5
feat(react): use TS config files for module federation (#19455) 2023-10-12 11:42:41 -04:00
Nicholas Cunningham
f83cf0162f
feat(react): Add support for promise based remotes (#19566) 2023-10-12 08:37:23 -04:00
Craigory Coppola
6946f65059
fix(misc): pass full path to tsconfig when registering transpiler (#19451) 2023-10-06 14:40:15 -04:00
Miroslav Jonaš
a3a0496856
feat(linter): remove tslint logic (#19002) 2023-10-06 08:32:51 -04:00
Travis Cline
47fcce0dfb
fix(webpack): add guard around onListening call (#19363) 2023-10-05 18:10:39 -04:00
Colum Ferry
a11e8f1bb2
fix(web): disable tsnode service after loading config (#19387)
Co-authored-by: Jason Jean <jasonjean1993@gmail.com>
2023-10-03 13:28:58 -04:00
Craigory Coppola
b222933417
chore(bundling): pass full context to parseTargetString (#19157) 2023-09-20 09:07:08 -04:00
Nicholas Cunningham
0369224b1c
feat(react): Support loading remotes via library: var (#19192) 2023-09-19 09:10:26 -06:00
Jack Hsu
56481d6976
fix(webpack): set module: true for swcMinify (#19213) 2023-09-18 09:53:32 -06:00
Nicholas Cunningham
0a7efc6465
feat(react): Add versioning for workspace libraries (#19063) 2023-09-14 08:08:46 -04:00
Colum Ferry
dd5ea7a244
feat(webpack): move module federation utils to webpack (#18996) 2023-09-08 10:22:09 -04:00
Matt Lewis
f30174b677
fix(webpack): enable in memory caching when building for node in watch mode (#18348) 2023-09-06 12:24:27 -06:00
Craigory Coppola
353d8d089d
cleanup(core): move js lockfile parsing to v2 plugin (#18779) 2023-08-30 14:26:41 -04:00
Colum Ferry
b5380d0847
fix(webpack): WebpackNxBuildCoordinationPlugin cancels inflight builds on new changes detected (#18883) 2023-08-29 17:14:49 +01:00
Jason Jean
c175f9ba11
fix(webpack): use new watcher for webpack build coordination plugin (#18822) 2023-08-25 09:06:47 -04:00
Isaac Mann
1ac034ba60 docs(core): move package recipes 2023-08-25 14:32:13 +02:00
Emily Xiong
9d5a3830be
feat(misc): remove dotenv from executors (#18719) 2023-08-22 20:00:37 -04:00
Juri
b8a6621e29 fix(webpack): fix babel config path resolution
closed #18404
2023-08-01 14:31:29 +02:00
Jason Jean
989f7f8f92
chore(repo): update nx to 16.6.0-beta.8 (#18356) 2023-07-29 10:39:53 -04:00
Leosvel Pérez Espinosa
ca5e673a80
feat(misc): add alternative implementation to calculate buildable dependencies using the task graph (#18125) 2023-07-19 15:11:13 -04:00
Colum Ferry
77bb4b7429
feat(angular): add support for TS Module Federation Config #15739 (#17876) 2023-07-12 16:14:52 +01:00
Leosvel Pérez Espinosa
95a2256a34
feat(misc): deprecate executor options to generate package.json for libraries (#17923) 2023-07-11 15:28:03 +00:00
Jack Hsu
24e45d494f
feat(bundling): rename esbuild-project, rollup-project, and webpack-project generators to "configuration" generators for consistency in naming (#18003) 2023-07-07 13:59:41 -04:00
Colum Ferry
8c9ad0da69
fix(bundling): update the browsers for es5 terser check (#17784) 2023-07-05 17:10:25 +01:00
Jack Hsu
9c0c30edb4
fix(bundling): separate image and font resources so they do not conflict (#17763) 2023-06-26 09:18:27 -04:00
Jeremiah Snee
e21077f815
fix(webpack): update withNx mainFields ordering to support tree-shaking (#17599) 2023-06-22 14:30:44 -04:00
Colum Ferry
6305e7f497
fix(bundling): check for browserslist when setting terser ecma #17620 (#17708) 2023-06-21 18:00:05 +00:00
Caleb Ukle
f3f74068ea
fix(testing): update default webpack config for react CT (#17562) 2023-06-21 11:41:33 -04:00