Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
added `AuroraDataApiPostgresDriver` to `BrowserDisabledDriversDummy.template` to fix typeorm not compiling when using browser target
  • Loading branch information
chriswep authored and Svetlozar committed Jan 12, 2021
1 parent 0d5550f commit a263d4d
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/platform/BrowserDisabledDriversDummy.template
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,12 @@ export class MongoRepository {}
*/
export class PostgresDriver {}

/**
* DO NOT IMPORT THIS CLASS -
* This is a dummy class for replacement via `package.json` in browser builds
*/
export class AuroraDataApiPostgresDriver {}

/**
* DO NOT IMPORT THIS CLASS -
* This is a dummy class for replacement via `package.json` in browser builds
Expand Down

0 comments on commit a263d4d

Please sign in to comment.