Skip to content

Commit

Permalink
fix: prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
himself65 committed Sep 30, 2024
1 parent 3c2e0fa commit 3d9ad51
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
7 changes: 2 additions & 5 deletions packages/waku/src/lib/builder/build.ts
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ const buildServerBundle = async (
jsx: 'automatic',
},
resolve: {
conditions: ['import', 'module', 'default', 'production'],
conditions: ['import', 'module', 'default'],
},
define: {
'process.env.NODE_ENV': JSON.stringify('production'),
Expand Down Expand Up @@ -315,7 +315,7 @@ const buildSsrBundle = async (
jsx: 'automatic',
},
resolve: {
conditions: ['import', 'module', 'default', 'production'],
conditions: ['import', 'module', 'default'],
},
define: {
'process.env.NODE_ENV': JSON.stringify('production'),
Expand Down Expand Up @@ -379,9 +379,6 @@ const buildClientBundle = async (
rscTransformPlugin({ isClient: true, isBuild: true, serverEntryFiles }),
...deployPlugins(config),
],
resolve: {
conditions: ['import', 'module', 'default', 'browser', 'production'],
},
build: {
emptyOutDir: !partial,
outDir: joinPath(rootDir, config.distDir, DIST_PUBLIC),
Expand Down
2 changes: 1 addition & 1 deletion packages/waku/src/lib/middleware/dev-server-impl.ts
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ const createMainViteServer = (
fsRouterTypegenPlugin(config),
],
resolve: {
conditions: ['import', 'module', 'default', 'production'],
conditions: ['import', 'module', 'default'],
},
optimizeDeps: {
include: ['react-server-dom-webpack/client', 'react-dom'],
Expand Down

0 comments on commit 3d9ad51

Please sign in to comment.