Skip to content

[WIP]: Prepare for Fastboot lib for Fastboot 1.0 release#97

Closed
kratiahuja wants to merge 1 commit intoember-fastboot:masterfrom
kratiahuja:fastboot-refactor-for-ember-cli
Closed

[WIP]: Prepare for Fastboot lib for Fastboot 1.0 release#97
kratiahuja wants to merge 1 commit intoember-fastboot:masterfrom
kratiahuja:fastboot-refactor-for-ember-cli

Conversation

@kratiahuja
Copy link
Contributor

@kratiahuja kratiahuja commented Nov 10, 2016

This PR primarily addresses the last chunk of issue of incorporating ember-cli changes and ember-cli RFC to building performant fastboot assets. It primarily does the following:

  • package.json manifest now has an array of appFilesPath containing the app.js and app-fastboot.js

TODO:

  • Update tests once this PR lands.
  • Make the appFillesPath backward compatible

cc: @tomdale @rwjblue @danmcclain @arjansingh @ryanone @masonwan @kristoferbaxter

This PR primarily addresses the last chunk of issue of incorporating ember-cli changes to building performant fastboot assets. It primarily does the following:
- package.json manifest now has an array of appFilesPath containing the app.js and app-fastboot.js

Once the ember-cli [PR](ember-cli/ember-cli#6395) lands, this need to PR needs to be updated to fix the breaking tests.
let config = this.readPackageJSON(distPath);

this.appFilePath = config.appFile;
this.appFilesPath = config.appFiles;
Copy link
Member

Choose a reason for hiding this comment

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

Small nit-pick, I'd prefer this.appFilePaths vs this.appFilesPath, what do you think?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I am fine with any name 😄 I'll switch to the other name in my next push.

@kratiahuja
Copy link
Contributor Author

Here is a gist of how this can be tested.

@kratiahuja
Copy link
Contributor Author

Going to close this since there is no clear decision yet on how we want to approach the build problem. We can reopen this whenever a decision is made.

@kratiahuja kratiahuja closed this Dec 29, 2016
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