Skip to content
This repository has been archived by the owner on Feb 22, 2018. It is now read-only.

not all output written as node modules #481

Closed
devoncarew opened this issue Mar 17, 2016 · 3 comments
Closed

not all output written as node modules #481

devoncarew opened this issue Mar 17, 2016 · 3 comments

Comments

@devoncarew
Copy link
Contributor

Not all the output files are written as node modules. When running this command:

pub global run dev_compiler --no-destructure-named-params -oweb/ddc --modules=node web/entry.dart

All my app code is compiled into node modules, and the referenced packages, but the runtime code (/dev_compiler/runtime/**) still uses DDC's proprietary format. The modules are a mix of different types, which seems odd and probably won't work great at runtime. Is there another setting, or some other step I should take to re-compile the runtime files?

@jmesserly
Copy link
Contributor

yeah for the moment you'd have to compile the SDK. node_test does something like that:
https://github.com/dart-lang/dev_compiler/blob/master/tool/node_test.sh

it's not a great situation. Essentially this is #397 (with #257 making it tough to solve).

@jmesserly
Copy link
Contributor

BTW, I think destructure-named-params is off by default.

@jmesserly
Copy link
Contributor

going to dupe this against #397, but I'm looking into providing the Dart SDK in a few module formats.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Development

No branches or pull requests

2 participants