-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
deno bundle
not working with imports
#4206
Labels
bug
Something isn't working correctly
Comments
cc @kitsonk |
Better repro: export const a = 1;
import { a } from "./a.js";
a; // Need to reference import.
|
vtenfys
changed the title
Mar 1, 2020
deno bundle
not working with official exampledeno bundle
not working with imports
Taking a look... 😕 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Steps to reproduce
Create
server.js
with the following content:Run
deno bundle server.js out.js
Run
deno out.js
Expected result
The code is bundled correctly and runs
Actual result
The bundle doesn't seem to be complete - it's missing the HTTP library.
Notes
This seems related to #4031 but adding
export {};
to the file doesn't fix the issue.The text was updated successfully, but these errors were encountered: