76 Commits

Author SHA1 Message Date
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
Katerina Skroumpelou
85606a45ea
feat(webpack): migrate to webpack.config file (#14607) 2023-01-26 15:10:34 +00:00
Dan Roujinsky
5e2f3154b1
fix(webpack): omit postcss plugins for css modules (#14616) 2023-01-26 08:37:01 -05:00
Janek Lasocki-Biczysko
177f1b7c72
fix(webpack): sourceMap option must be a boolean if/when passed to loaders (#14622) 2023-01-25 18:10:27 -05:00
Dan Roujinsky
a7485d3ecd
chore(webpack): export a type for execution context (#14619) 2023-01-25 12:28:11 -05:00
Jack Hsu
d7536aa7e3 feat(core): clean up workspace configuration code 2023-01-23 19:35:15 -05:00
Jack Hsu
c134efe33f
fix(react): add bundler to create-nx-workspace react preset so webpack package is installed (#14546) 2023-01-23 21:11:14 +00:00
Kenneth Toxcon
d8bd8ab3f4
fix(react): adding support for async plugins in compose-plugins utility (#14447) 2023-01-21 02:25:35 +00:00
Jack Hsu
da0e3ba1c7
fix(webpack): handle new https options in webpack-dev-server (#14520) 2023-01-20 19:36:59 +00:00
Katerina Skroumpelou
9f0a7f07ca
fix(storybook): revert to previous defaults for Storybook CLI options (#14498) 2023-01-19 17:37:24 -05:00
Jack Hsu
01b42896a2
fix(react): add migration to install @nrwl/webpack if needed by Story… (#14480) 2023-01-19 18:27:36 +00:00
Jack Hsu
da8b855c6c
fix(webpack): allow optimization to be turned off via CLI (#14431) 2023-01-17 11:55:14 -05:00
Jack Hsu
d20cf91e6c
feat(misc): add x-priority tags to next, react, webpack, rollup, esbuild (#14352) 2023-01-13 11:50:01 -05:00
Jack Hsu
a610276cf8
fix(webpack): fix loader config for global styles (#14323) 2023-01-12 17:58:58 -05:00
Jack Hsu
454fba49b2
feat(webpack): generate React and Web apps with webpack.config.js file (#14285) 2023-01-12 10:06:25 -05:00
Jack Hsu
6ce3466010
cleanup(webpack): remove unreachable code for lazy-loaded styles that we never supported (#14277) 2023-01-11 11:44:21 -05:00
Jack Hsu
6feb56e014
feat(webpack): remove support for legacy browsers (#14190) (#14257) 2023-01-11 10:13:35 +02:00
Jack Hsu
fcc02d1932
feat(webpack): remove support for legacy browsers (#14190) 2023-01-09 12:15:37 +02:00
Jack Hsu
b63b6e43a4
feat(webpack): use webpack.sources instead of webpack-sources package (#14189) 2023-01-06 10:32:17 -05:00
Victor Savkin
422c8c735a cleanup(core): clearly split nx.json config and projects config 2023-01-05 15:35:36 -05:00
Jack Hsu
3364e386a3
cleanup(webpack): remove previously deprecated options (#14149) 2023-01-05 09:00:41 -05:00
Jack Hsu
b76871d501
fix(bundling): detect esm vs cjs type for .js files (#14060) 2022-12-29 13:41:56 -05:00