Skip to content

Commit

Permalink
[v3] Add suffix to ssr build files (#1158)
Browse files Browse the repository at this point in the history
* split ssr build on local (#1155)

* add suffix to ssr build files (#1157)
  • Loading branch information
kevinxh authored Apr 28, 2023
1 parent 4eafb65 commit 288a65c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/pwa-kit-dev/src/configs/webpack/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -361,7 +361,7 @@ const renderer =
// We want to split the build on local development to reduce memory usage.
// It is required to have a single entry point for the remote server.
// See pwa-kit-runtime/ssr/server/build-remote-server.js render method.
filename: mode === development ? '[name].js' : 'server-renderer.js',
filename: mode === development ? '[name]-server.js' : 'server-renderer.js',
libraryTarget: 'commonjs2'
},
plugins: [
Expand Down

0 comments on commit 288a65c

Please sign in to comment.