Skip to content

Commit

Permalink
fix: disable "baseUrl"
Browse files Browse the repository at this point in the history
"baseUrl" will cause module importing problem as a package
  • Loading branch information
Char2sGu committed Jun 8, 2021
1 parent a9100a2 commit ad497b7
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
5 changes: 2 additions & 3 deletions src/services/mikro-crud-service.factory.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,10 @@ import {
} from "@mikro-orm/core/typings";
import { InjectRepository } from "@mikro-orm/nestjs";
import { NotFoundException } from "@nestjs/common";
import { ScalarPath } from "src/types";
import { walkPath } from "src/utils";
import { AbstractFactory } from "../abstract.factory";
import { FACTORY_METADATA_KEY } from "../constants";
import { FilterOperator } from "../types";
import { FilterOperator, ScalarPath } from "../types";
import { walkPath } from "../utils";
import { MikroCrudServiceFactoryOptions } from "./mikro-crud-service-factory-options.interface";
import { MikroCrudService } from "./mikro-crud-service.interface";

Expand Down
1 change: 0 additions & 1 deletion src/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{
"extends": "../tsconfig.base.json",
"compilerOptions": {
"baseUrl": "..",
"outDir": "../lib"
},
"exclude": ["**/*.spec.ts"]
Expand Down
2 changes: 1 addition & 1 deletion src/types/scalar-path.type.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Scalar } from "@mikro-orm/core/typings";
import { ExtractPath } from "src/utils";
import { ExtractPath } from "../utils";

/**
* _`String.length` is not excluded because excluding it will cause performance problems_
Expand Down

0 comments on commit ad497b7

Please sign in to comment.