39 Commits

Author SHA1 Message Date
Jack Hsu
b3200fb7c4
fix(nextjs): set correct distDir when running production server through Nx (#15861) 2023-03-23 16:57:10 +00:00
Jack Hsu
e904e04611
fix(nextjs): add missing style deps for less and stylus (#15839) 2023-03-22 22:05:18 +00:00
Jack Hsu
c7e49c564a
fix(nextjs): produce correct next.config.js file for production server (#15824) 2023-03-22 14:03:09 -04:00
Jack Hsu
63cdddfa11
fix(nextjs): handle buildable libs correctly (#15795) 2023-03-21 11:21:02 -04:00
Jason Jean
4b9865c187
fix(react): fix next import (#15724) 2023-03-16 15:38:48 -06: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
Jack Hsu
dc16468607
fix(nextjs): check validity of Nx context in withNx plugin (#13358) 2022-11-23 16:21:25 +00:00
Thomas Blanchard
4994223d03
fix(nextjs): error in with-nx.ts (#12973) 2022-11-07 10:13:21 -05:00
Konstantin Azizov
94edbe9f6c
fix(nextjs): specify return type in withNx plugin (#12486) 2022-10-26 14:00:17 -04:00
Jack Hsu
50f6cbb11d
feat(nextjs): remove dependency on "@nrwl/next" for the production build (#12247) 2022-09-26 12:38:44 -04:00
Jason Jean
c64dbdec24
fix(next): fix withNx with nx property doesn't exist (#11900) 2022-09-06 21:33:15 +00:00
Jack Hsu
9b26bc1585
fix(nextjs): SVGR plugin should not be used if nx: { svgr: false } is set in next.config.js (#11829) 2022-09-01 15:55:24 +00:00
Nicholas Cunningham
522dcdd339
feat(nextjs): improve type checking for nextjs config file (#11497)
Co-authored-by: Nicholas Cunningham <ndcunningham>
2022-08-09 11:31:22 -04:00
Jack Hsu
1fef99d8ae
fix(nextjs): fix invalid config warning by sanitizing it before passing to Next.js (#11313) 2022-07-27 14:48:13 +00:00
Miroslav Jonaš
3b21f4dfea
fix(core): switch from appRootPath to workspaceRoot (#9600) 2022-03-30 09:15:20 -04:00
Victor Savkin
d4b5c30eba
cleanup(core): remove the indirection left after inlining ta… (#9469) 2022-03-23 22:18:17 -04:00
Victor Savkin
6f038e7a4a feat(core): reorganize packges to consolidate all cli-related code in nx 2022-03-14 16:42:51 -04:00
Zach Gover
ec2944c6c8
chore(nextjs): removed deprecated target (#8237) 2022-01-04 16:14:58 +00:00
Noriyuki Shinpuku
fe96a33173
feat(nextjs): bump Next.js version to 12.0.7 (#7788) 2021-12-08 20:06:02 +00:00
Jack Hsu
39bc2e293e
feat(nextjs): bump Next.js version to 12.0.0 (#7524) 2021-10-27 00:37:14 +00:00
Kirils L
92132c6017
feat(nextjs): disable lint during build (#7379) 2021-10-15 11:05:52 -06:00
Jack Hsu
724b0c0e3c
feat(core): upgrade to webpack 5 (#7283)
* feat(core): upgrade to webpack 5

* chore(core): update webpack 5 docs
2021-10-13 00:34:28 -04:00
Kirils L
61bcab3a83
feat(nextjs): expose environment variables prefixed with NX_ (#7193) 2021-10-01 15:49:02 +00:00
Victor Savkin
d79bba3630 chore(repo): update to nx 12.10 2021-09-20 16:39:13 -04:00
Jason Jean
0772cb3642
Revert "chore(repo): update nx to 12.8.0-beta.1 (#6804)" (#6831)
This reverts commit 8e8191f22c7bce330c2c314f37bdf57c71cabadb.
2021-08-24 01:48:50 +00:00
Jason Jean
8e8191f22c
chore(repo): update nx to 12.8.0-beta.1 (#6804) 2021-08-23 18:03:59 +00:00
Phumrapee Limpianchop
fc11571178
fix(nextjs): Next 11.1.0 compatibility (#6699)
Co-authored-by: Kirils L <9858620+kirjai@users.noreply.github.com>
2021-08-16 08:00:19 -07:00
Miroslav Jonaš
8ab463e386
cleanup(core): replace deprecated usage of appRootPath (#6241)
* cleanup(core): replace deprecated usage of appRootPath

* cleanup(core): revert migration changes
2021-07-05 15:51:19 -04:00
Noriyuki Shinpuku
7510ee479c
feat(nextjs): improve WithNxOptions typing (#5903)
* feat(nextjs): improve WithNxOptions typing

* docs(nextjs): update nextjs guides
2021-06-25 15:08:12 +03:00
kirjai
8801930553 feat(nextjs): support webpack 5 2021-06-11 16:45:14 +01:00
Kirils L
217f581472
fix(nextjs): allow node modules css import in libs (#5479) 2021-05-04 09:53:41 +00:00
Kirils L
ffc69d41b4
feat(nextjs): add option to disable svgr (#5200) 2021-04-06 22:40:52 -04:00
kirjai
aefdf26a03 feat(nextjs): support next 10.1.2 2021-03-31 21:09:17 -04:00
Jack Hsu
ddec362a5a
fix(nextjs): update babel setup to better support next apps (#4944)
* fix(nextjs): update babel setup to better support next apps

* fix(testing): remove babel-jest.config.json used in jest.config.js

- Fix `@nrwl/web/babel` to support Jest as well
2021-03-09 21:32:36 +00:00
Victor Savkin
a25e081a84 feat(core): remove angular devkit deps 2021-01-25 12:52:30 -05:00
Remo Vetere
543928d9f8
Pass down all webpack options to support all cases of next.config.js (#4443) 2021-01-08 10:55:01 -05:00
James Henry
2a47cdf0aa
feat(nextjs): apply experimental-serverless-trace to vercel next configs (#4459) 2021-01-07 11:47:55 -05:00
Michael Stramel
2f79bf530e
fix(nextjs): Pass defaultLoaders through to user webpack config (#4137) 2020-11-27 13:58:42 -05:00
Jack Hsu
a297db6324
fix(nextjs): add Next.js config enhancer for supporting css moduels in workspace libs (#4047) 2020-11-09 11:52:03 -05:00