99 Commits

Author SHA1 Message Date
Colum Ferry
ed6524cbe5
cleanup(js): move assets to js package (#15955) 2023-04-03 10:24:14 -04:00
Jack Hsu
bfea455e64
fix(bundling): add missing @babel/core dependency to @nrwl/webpack (#16023) 2023-03-31 16:37: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
Craigory Coppola
6834b658f7
fix(nx-plugin): allow some customization when running nx-plugins (#15438) 2023-03-21 18:35:55 -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
Jason Jean
92610fe4b6
chore(repo): update nx to 15.8.0-beta.7 (#15293) 2023-02-27 17:24:06 -05:00
Jason Jean
84fedf36e0
Revert "chore(repo): update nx to 15.8.0-beta.6" (#15274) 2023-02-26 12:39:15 -05:00
Jason Jean
3c50474f40
chore(repo): update nx to 15.8.0-beta.6 (#15247) 2023-02-26 02:26:53 -05: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
ba90186628
docs(webpack): explain babelUpwardRootMode option (#15132) 2023-02-21 08:47:46 -05:00
Katerina Skroumpelou
5d54f71398
fix(webpack): add babelUpwardRootMode (#15061) 2023-02-17 17:09:57 +00:00
Phillip Barta
6751958143
cleanup(webpack): remove unused dependency webpack-merge (#15047) 2023-02-17 13:40:53 +02:00
Phillip Barta
0c230c8f8b
feat(webpack): update less to v4.1.3 (#15048) 2023-02-17 13:40:41 +02: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
f1f69df470
feat(webpack): update babel-loader to 9.1.2 to fix hashing issues (#14527) 2023-01-20 14:52:57 -07: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
Phillip Barta
415d1c745c
fix(misc): loosen chalk version (#14276) 2023-01-13 17:44:11 -05:00