Skip to content

Commit

Permalink
cleanup(vite): remove prod config server warning (nrwl#14699)
Browse files Browse the repository at this point in the history
  • Loading branch information
mandarini authored Jan 30, 2023
1 parent 954f78c commit 9e06e41
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions packages/vite/src/executors/dev-server/dev-server.impl.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,6 @@ export default async function* viteDevServerExecutor(
}
);

if (serverConfig.mode === 'production') {
console.warn('WARNING: serve is not meant to be run in production!');
}

try {
const server = await createServer(serverConfig);
await runViteDevServer(server);
Expand Down

0 comments on commit 9e06e41

Please sign in to comment.