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 imports requiring dist #3

Closed
wants to merge 5 commits into from
Closed

Conversation

t3ned
Copy link
Owner

@t3ned t3ned commented Jul 23, 2022

Problem
Importing the package modules (express or fastify) requires /dist in the package name to access the module:

import { Application } from "channel/dist/express";

Solution
Export a file for each of the modules to remove the /dist prefix
import { Application } from "channel/express";

@t3ned t3ned marked this pull request as draft July 23, 2022 18:41
@t3ned t3ned self-assigned this Jul 23, 2022
@t3ned t3ned closed this Jul 23, 2022
@t3ned t3ned deleted the fix-imports-requiring-dist branch July 23, 2022 22:00
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.

None yet

1 participant