97 Commits

Author SHA1 Message Date
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
Jack Hsu
9fa9fda61d
fix(bundling): support BABEL_ENV over NODE_ENV for babel config (#17529) 2023-06-09 16:26:43 -04:00
Jack Hsu
08339ee49f
feat(js): do not generate root babel.config.json for babel projects (#17289) 2023-06-06 15:45:33 -04:00
Sahil Purav
3997d3f5fd
fix(webpack): micro-frontend dev builds in React are not working in S… (#17403)
Co-authored-by: Sahil Purav <sahil5684@gmail.com>
2023-06-06 10:02:43 +03:00
MaximSagan
825190674c
fix(webpack): support webworker (#17136) (#17137)
Co-authored-by: Max Sagan - Yieldbroker <max.sagan@yieldbroker.com>
2023-05-31 10:03:27 -04:00
Katerina Skroumpelou
8b964b74c6
chore(misc): update @svgr/ packages (#17212) 2023-05-26 15:31:48 +03:00
Jack Hsu
b3d07a8293
fix(node): default webpack build to not perform default optimizations for Node (#16625) 2023-04-27 22:59:22 +00:00
Colum Ferry
9d71c718f0
fix(react): skip DefinePlugin for SSR (#16612) 2023-04-27 15:15:08 +00:00
Xinan
440a85c18b
fix(webpack): web app in default nx config not working with @aws-sdk (#15962) 2023-04-25 15:01:43 -04:00
Jack Hsu
fda18e0dbc
feat(js): update @swc/core and @swc/helpers packages (#16372) 2023-04-18 14:57:48 -04:00
Jason Jean
5a0a4e8d26
feat(repo): replace usages of @nrwl/ with @nx/ in tooling packages (#16351) 2023-04-18 12:15:33 -04:00
Miroslav Jonaš
2dd59c3b57
feat(core): extract js related code from affected and hasher (#16244) 2023-04-18 10:42:05 -04:00
Jason Jean
2d195007b0
feat(core): switch packages to use the @nx scope (#16069) 2023-04-14 19:56:37 -04:00
Caleb Ukle
85b3315b34
chore(misc): update snapshots to latest format (#16276) 2023-04-14 11:29:06 -04:00
Colum Ferry
ed6524cbe5
cleanup(js): move assets to js package (#15955) 2023-04-03 10:24:14 -04:00
Leosvel Pérez Espinosa
4eb7cc7bf1
fix(misc): skip formatting files in nested generator calls (#15961) 2023-03-31 11:22:18 -04:00
Jay Bell
d47d3f125d
fix(webpack): configure terser plugin with non-deprecated options for… (#15968) 2023-03-30 11:07:47 -04:00
Jason Jean
8cf8f18c1c
feat(core): refactor most of js graph work into its own folder (#15365) 2023-03-28 14:57:06 -04:00
Jason Jean
4a55ee9a33
fix(js): run prettier with default options when theres no prettierrc (#15888) 2023-03-27 18:00:24 -04:00
Nicholas Cunningham
be81405a84
fix(nextjs): refactor how webpack config is loaded with nextjs (#15650)
Co-authored-by: FrozenPandaz <jasonjean1993@gmail.com>
2023-03-15 18:07:19 -04:00
Denis Frenademetz
ebdb193f0e
feat(core): use inputs to determine package dependencies (#13966) 2023-03-14 11:02:00 -04:00
Colum Ferry
c3a58e9c1d
feat(core): move forEachExecutorOptions to devkit (#15547) 2023-03-10 17:04:10 +00:00
Colum Ferry
361ddb1b0f
feat(js): move buildable libs to js (#15558) 2023-03-09 16:36:50 -05:00
Jack Hsu
d7cd1538e5
fix(bundling): default Node scriptType to CommonJS since it has the widest compatibility (#15483) 2023-03-06 21:45:33 +00:00
Leosvel Pérez Espinosa
b488f6483a
fix(angular): make webpack-browser executor watch changes correctly in incremental builds setups (#15222) 2023-02-24 14:10:47 +00:00
Katerina Skroumpelou
5d54f71398
fix(webpack): add babelUpwardRootMode (#15061) 2023-02-17 17:09:57 +00:00
Dan Roujinsky
2a77436118
fix(webpack): restore supporting a configuration array (#14977) 2023-02-17 13:33:07 +02:00
Emily Xiong
a97212b601
feat(core): move tsconfig.base.json to @nrwl/js:init (#14467) 2023-02-16 11:17:30 -05:00
Phillip Barta
673fff6dfb
cleanup(webpack): replace fs-extra.removeSync() with fs.rmSync() and remove dependency fs-extra (#15008) 2023-02-15 17:07:07 +02:00
Jack Hsu
ad8343499b
fix(webpack): filter out .hot-update.js files from index.html (#14917) 2023-02-10 18:23:41 +00:00
Jack Hsu
db7ee9966e
fix(webpack): ensure NODE_ENV is defaulted to development for dev-server, and HMR works (#14915) 2023-02-10 15:26:42 +00:00
Jack Hsu
7185c5fa20
fix(webpack): pass the correct config to user when isolatedConfig=false (#14912) 2023-02-10 09:07:59 -05:00
Jason Jean
1d773c0d35
fix(devkit): make devkit backwards compatible back to nx 14.1 (#14854) 2023-02-09 12:48:57 -05:00
Dan Roujinsky
5551fccf3e
fix(webpack): don't use deprecated config with isolatedConfig (#14802) 2023-02-07 17:50:35 +02:00
Dan Roujinsky
6748bc6192
fix(webpack): restore previous build logging (#14801) 2023-02-07 17:50:15 +02:00
Katerina Skroumpelou
b110275f9c
docs(webpack): add frontmatter to guides (#14724) 2023-01-31 19:17:46 +02:00
Jack Hsu
ec28689a80
docs(webpack): add guide for webpack plugins (e.g. withNx, withWeb, etc.) (#14720) 2023-01-31 17:06:32 +00:00
Dan Roujinsky
e92097c5d0
fix(webpack): use webpack-merge for plugins to preserve values, fix React SVG loader (#14695) 2023-01-31 10:09:58 -05:00
Jack Hsu
cda00d9687
fix(webpack): config migrations should account for different configurations (#14672) 2023-01-27 20:50:25 +00:00
Katerina Skroumpelou
dba4a065ca
feat(react): migrate webpack config (#14663) 2023-01-27 09:57:38 -05:00
Jack Hsu
795e4d6985
fix(webpack): fix support for module federation plugin (#14653) 2023-01-27 14:14:31 +02:00
Jack Hsu
d5332b4e23
feat(webpack): move web-specific options into withWeb plugin (#14590) 2023-01-26 14:17:13 -05:00
Jack Hsu
cd92d102d3
feat(webpack): add isolatedConfig option to skip automatically applying Nx plugins (#14618) 2023-01-26 10:32:34 -05:00