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

Bundling aurelia applications #19

Open
adriatic opened this issue May 2, 2017 · 1 comment
Open

Bundling aurelia applications #19

adriatic opened this issue May 2, 2017 · 1 comment

Comments

@adriatic
Copy link
Member

adriatic commented May 2, 2017

Articles read

  1. http://aurelia.io/hub.html#/doc/article/aurelia/framework/latest/bundling-jspm/2
  2. http://www.aureliajsrocks.com/bundling-aurelia-apps-with-gulp/
  3. https://ilikekillnerds.com/2016/02/the-definitive-guide-to-bundling-exporting-in-aurelia/

Just document 1 above should be sufficient - I never saw it before and it is almost impertinent to stuff an aurelia app into gh-pages host without that minimal experience.

@adriatic
Copy link
Member Author

adriatic commented May 3, 2017

Case 1 - Using skeleton esnext application.

Step 1

Built the app with npm install && jspm install && gulp watch and verified that if works fine

Step 2

Ran gulp bundle followed by gulp serve-bundle and verified that if works fine.

Step 3

3.1 Ran gulp export.

3.2 Copied the content of the export folder (see below)
image

to my local folder

image

and pushed it to https://github.com/aurelia-tools/deploy

3.3 After some time, I got the message from GitHub

image

Reported this to GitHub via browser based problem report - now waiting for their explanation of what means Please try again later 😢


Step 4

Added 20 minutes later:
Updated the index.html file in the local repo and pushed it to remote master. The website showed up right away:

image

As you can see it has only 10 request to the server - it is bundled and works like a charm.

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

No branches or pull requests

1 participant