Comments (3)
This is partly "working as designed" as emit doesn't use/have access to the deno.jsonc
to provide the compilerOptions
being used here, but at the same time, setting compilerOptions
is not enabled to overcome this issue.
from deno_emit.
I'm hitting this problem too ... in a small dev server that transpiles my ts on the fly for the browser.
But, I'm also using import maps, and I assumed it may have been that the new emit module is not using the import map.
Could this be the case too, if emit isn't picking up the deno.json, then it also isn't picking up the import map declared there?
from deno_emit.
I could not reproduce the bug with the provided repo, neither with v0.0.1 (for which it panics for different reasons), nor with the latest version (for which it transpiles fine).
As for the import map support, this will land with #114.
I think the issue should be closed.
from deno_emit.
Related Issues (20)
- npm:specifier support HOT 1
- Inconsistent behavior regarding sourcemaps with tsc and deno bundle HOT 3
- Should `deno_emit` output ignore comments like `deno bundle`? HOT 1
- import not working offline, requires wasm HOT 2
- Please provide a way to generate .d.ts file
- Uncaught SyntaxError: Identifier 'mod' has already been declared
- error: Uncaught (in promise) Error: Unable to output during bundling. HOT 11
- Trailing slash added to base URL in transpile load function specifier HOT 4
- Uncaught ReferenceError: Deno is not defined HOT 1
- Better debugging output HOT 1
- Option to type check TypeScript? HOT 3
- Rust API?
- Provide option to avoid tree walking during transpilation HOT 3
- How to make bare import external? HOT 4
- Multiple `const mod =` definitions? HOT 3
- "Remote modules are not allowed to import local modules" HOT 3
- Cancellable API HOT 1
- feature request: output typescript
- Bundle fails when js deps include node modules
- `deno_emit::bundle_graph` only bundles the first root of `ModuleGraph`
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from deno_emit.