Skip to content

Commit

Permalink
fix(nextjs): Fix wrong order of assets, and fileReplacements options
Browse files Browse the repository at this point in the history
  • Loading branch information
tvdoan committed Aug 13, 2024
1 parent 887a96d commit ff76244
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/next/plugins/with-nx.ts
Original file line number Diff line number Diff line change
Expand Up @@ -226,8 +226,8 @@ function withNx(
? joinPathFragments(workspaceRoot, projectDirectory)
: workspaceRoot,
projectDirectory,
_nextConfig.nx?.assets || options.assets,
_nextConfig.nx?.fileReplacements || options.fileReplacements
_nextConfig.nx?.fileReplacements || options.fileReplacements,
_nextConfig.nx?.assets || options.assets
)(userWebpackConfig ? userWebpackConfig(a, b) : a, b);

return nextConfig;
Expand Down

0 comments on commit ff76244

Please sign in to comment.