Skip to content

fix: import using full path instead of relative path - #4

Open
Rignchen wants to merge 1 commit into
sandrinodm:mainfrom
Rignchen:fix/import-path
Open

fix: import using full path instead of relative path#4
Rignchen wants to merge 1 commit into
sandrinodm:mainfrom
Rignchen:fix/import-path

Conversation

@Rignchen

Copy link
Copy Markdown

import /${this.migrationsDir}/${fileName}
instead of /node_modules/.pnpm/sqlite-up@0.6.0/node_modules/sqlite-up/dist/${this.migrationsDir}/${fileName} (or it's equivalent with other package manager)
(/ represents the project's root directory)

import `/${this.migrationsDir}/${fileName}`
instead of `/node_modules/.pnpm/sqlite-up@0.6.0/node_modules/sqlite-up/dist/${this.migrationsDir}/${fileName}` (or it's equivalent with other package manager)
(`/` represents the project's root directory)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant