Skip to content

Make functioning build with 'gulp dist'#21

Open
oddgoo wants to merge 1 commit intotinkertrain:masterfrom
oddgoo:master
Open

Make functioning build with 'gulp dist'#21
oddgoo wants to merge 1 commit intotinkertrain:masterfrom
oddgoo:master

Conversation

@oddgoo
Copy link
Copy Markdown

@oddgoo oddgoo commented Oct 7, 2015

'gulp dist' was not building a functioning distribution. System.js wasn't found and there was no executable entry point to the rest of the app.

To fix this, I:

  • Changed the order of the htmlReplace js parameters, to put 'js/system.js' at the top.
  • Added a new htmlReplace block, to add an entry point to 'src/app.js' in index.html

Perhaps this is better solved by flagging the app.js file as a --script, instead of a --module, but I did not know how to do that.

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.

1 participant