Skip to content

Commit

Permalink
improved module resolution
Browse files Browse the repository at this point in the history
  • Loading branch information
rpuls committed Dec 28, 2024
1 parent f236b34 commit bc4757a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions backend/src/subscribers/product-upsert.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import type { SubscriberArgs, SubscriberConfig } from '@medusajs/framework'
import { IProductModuleService } from '@medusajs/types'
import { Modules } from '@medusajs/utils'
import { ProductEvents, SearchUtils } from '@medusajs/utils'
import { IProductModuleService } from '@medusajs/framework/types'
import { Modules } from '@medusajs/framework/utils'
import { ProductEvents, SearchUtils } from '@medusajs/framework/utils'
import { MeiliSearchService } from '@rokmohar/medusa-plugin-meilisearch'

export default async function productUpsertHandler({ event: { data }, container }: SubscriberArgs<{ id: string }>) {
Expand Down
2 changes: 1 addition & 1 deletion backend/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"allowJs": true,
"esModuleInterop": true,
"module": "commonjs",
"moduleResolution": "node",
"moduleResolution": "node16",
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
"skipLibCheck": true,
Expand Down

0 comments on commit bc4757a

Please # to comment.