forked from aws-amplify/amplify-cli
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(amplify-provider-awscloudformation): custom transformer imports
Current implementation misuses createRequireFromPath API. Unfortunately this API doesn't support directory path well. For example, ``` createRequireFromPath("/my/project")("./node_modules/mylib") ``` isn't same as ``` require("/my/project/node_modules/mylib") ``` Actually, it's ``` require("/my/node_modules/mylib") ```
- Loading branch information
1 parent
06a7ec5
commit e1621a8
Showing
1 changed file
with
3 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters