Skip to content
This repository has been archived by the owner on Apr 16, 2019. It is now read-only.

Provide debug/release configurations in lieu of a zip file #28

Open
burkeholland opened this issue Jul 24, 2013 · 1 comment
Open

Provide debug/release configurations in lieu of a zip file #28

burkeholland opened this issue Jul 24, 2013 · 1 comment

Comments

@burkeholland
Copy link

It would be helpful if the Bootstrapper would have 2 modes.

  1. Debug - the mode it operates in all the time now. Reserve a section at the head of the page and insert all files.

  2. Release - Concat/Minify or run RequireJS build and then add single script file to the bottom of the page, just below the closing body tag. It also might be helpful to allow people to specify where they want the build file to go with some sort of convention...

<!-- KENDO_BOOTSTRAPPER:BUILD -->
@mishoo
Copy link
Contributor

mishoo commented Jul 25, 2013

  1. Debug - the mode it operates in all the time now. Reserve a section at the head of the page and insert all files.

Indeed, that's how it works now, except that instead of inserting all the files in the page, it'll insert a single script tag that will generate code that loads the files. This way it doesn't have the modify the page all the time. That section is replaced on "Bundle".

  1. Release - Concat/Minify or run RequireJS build and then add single script file to the bottom of the page, just below the closing body tag. It also might be helpful to allow people to specify where they want the build file to go with some sort of convention...

and this happens on "Bundle". Do you mean you'd like to have the ability to preview with minified/concatenated files without generating a bundle?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants