We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi, I am observing that deno bundle does not bundle imports that have the @deno-types annotation. This may be related to #5665.
@deno-types
// @deno-types="https://unpkg.com/[email protected]/dist/rollup.d.ts" import { rollup } from 'https://unpkg.com/[email protected]/dist/es/rollup.browser.js' console.log(rollup)
deno bundle test.js > out.js && deno run out.js
error: Uncaught TypeError: Cannot read property 'rollup' of undefined console.log(rollup_browser_js_1.rollup);
If I omit the @deno-types annotation, the out.js file is significantly larger and it works fine.
out.js
The text was updated successfully, but these errors were encountered:
Actually this is a duplicate of #4539, just it is also @deno-types as well.
Sorry, something went wrong.
This was resolved in 1.5 and the way we handle the modules and bundling. The example no longer produces the reported error.
kitsonk
No branches or pull requests
Hi, I am observing that
deno bundle
does not bundle imports that have the@deno-types
annotation. This may be related to #5665.deno bundle test.js > out.js && deno run out.js
If I omit the
@deno-types
annotation, theout.js
file is significantly larger and it works fine.The text was updated successfully, but these errors were encountered: