-
-
Notifications
You must be signed in to change notification settings - Fork 28
index.js main file does not emit ./
for modules
#2
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
Comments
Modifying index.ts:30 to add const file = './' + relative(fileDir, resolve(baseUrl, out)); fixes the problem, but I doubt this is the proper solution. |
danielpza
added a commit
that referenced
this issue
Apr 12, 2019
@roblav96 It was pretty close to what I came up with, I will merge it tomorrow if you have any thoughts on it. |
@danielpza I ended up using ilearnio/module-alias so I haven't been able to test this. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Any files emitted at the root of
./dist/*.js
do not include the./
path at the beginning of modules.tsconfig.json
Example:
Currently
./dist/index.js
looks like:When it should be:
The text was updated successfully, but these errors were encountered: