Skip to content

Conversation

sigmundch
Copy link
Member

Note: the .packages file is not available as an asset, so it wont be emitted in the output build folder. If you want to make it a asset, could you please give me some hints as to where/how I should do so?

Copy link
Member

@nex3 nex3 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As long as the packages/ directory is still being generated, I don't think there's a need to emit a generated .packages file.

await compiler.compile(
p.toUri(entrypoint),
provider.libraryRoot,
p.toUri(appendSlash(packageRoot)),
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are we still using appendSlash()? If not, can you delete it?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done.

@sigmundch
Copy link
Member Author

Sounds good. Thank you!

@sigmundch sigmundch merged commit dbe8be2 into dart-lang:master Mar 15, 2018
@sigmundch sigmundch deleted the dart2js_with_packages_file branch March 15, 2018 21:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants