Skip to content

Commit

Permalink
Add deprecation note to bundle and writeScript methods on AppForServer
Browse files Browse the repository at this point in the history
  • Loading branch information
craigbeck committed Apr 22, 2024
1 parent 6c4daa9 commit 8d2b281
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/AppForServer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -162,12 +162,14 @@ export class AppForServer extends App {
return page;
}

// @DEPRECATED
bundle(_backend, _options, _cb) {
throw new Error(
'bundle implementation missing; use racer-bundler for implementation, or remove call to this method and use another bundler',
);
}

// @DEPRECATED
writeScripts(_backend, _dir, _options, _cb) {
throw new Error(
'writeScripts implementation missing; use racer-bundler for implementation, or remove call to this method and use another bundler',
Expand Down

0 comments on commit 8d2b281

Please sign in to comment.