Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix: Make sure webpack and jest can resolve "rootDir" paths #104

Merged
merged 1 commit into from
Oct 21, 2022

Conversation

jackw
Copy link
Collaborator

@jackw jackw commented Oct 21, 2022

What this PR does / why we need it:
Toolkit's webpack config adds src to the list of module lookups allowing devs to write paths in a similar fashion to typescript rootDir feature. This PR adds this to webpack and jest.

Which issue(s) this PR fixes:

Fixes #101

Special notes for your reviewer:

@jackw jackw added the create-plugin related to the create-plugin tool label Oct 21, 2022
@jackw jackw self-assigned this Oct 21, 2022
@jackw jackw merged commit 793cd99 into main Oct 21, 2022
@jackw jackw deleted the jackw/fix-module-import-path branch October 21, 2022 13:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
create-plugin related to the create-plugin tool
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Bug: typescript relative imports to src not working correclt
2 participants