Skip to content

Commit

Permalink
feat(remix-dev): deprecate serverBuildTarget
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelDeBoey committed Dec 12, 2022
1 parent 6a6fa59 commit 60d523b
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions packages/remix-dev/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -71,9 +71,6 @@ export interface AppConfig {
/**
* The path to the server build file, relative to `remix.config.js`. This file
* should end in a `.js` extension and should be deployed to your server.
*
* If omitted, the default build path will be based on your
* {@link ServerConfig.serverBuildTarget}.
*/
serverBuildPath?: string;

Expand Down Expand Up @@ -115,20 +112,18 @@ export interface AppConfig {

/**
* The output format of the server build. Defaults to "cjs".
*
* @deprecated Use {@link ServerConfig.serverBuildTarget} instead.
*/
serverModuleFormat?: ServerModuleFormat;

/**
* The platform the server build is targeting. Defaults to "node".
*
* @deprecated Use {@link ServerConfig.serverBuildTarget} instead.
*/
serverPlatform?: ServerPlatform;

/**
* The target of the server build. Defaults to "node-cjs".
*
* @deprecated Use {@link ServerConfig.publicPath}, {@link ServerConfig.serverBuildPath}, {@link ServerConfig.serverModuleFormat} & {@link ServerConfig.serverPlatform} instead.
*/
serverBuildTarget?: ServerBuildTarget;

Expand Down

0 comments on commit 60d523b

Please sign in to comment.