Skip to content
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

Implement compile process for development #2698

Merged
merged 5 commits into from
May 29, 2020

Conversation

davidfirst
Copy link
Member

which is different than compile for release.

This compilation takes place on the workspace and the dists are saved inside the component dir.
The provider should implement compileFile function as follows:

compileFile: (fileContent: string, options: { componentDir: string, filePath: string }) => Array<{ outputText: string, outputPath: string }> | null;

In case the compiler receive an unsupported file, it should return null.

Also, implemented the typescript core-ext compileFile method.

@AppVeyorBot
Copy link

Build bit 1.0.10425 failed (commit 04b36e5e3e by @davidfirst)

@davidfirst davidfirst merged commit 95f6013 into harmony/main May 29, 2020
@davidfirst davidfirst deleted the harmony/compile-for-development branch May 29, 2020 19:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants