-
Notifications
You must be signed in to change notification settings - Fork 88
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
Add option for verifying and minifying files #548
Comments
Also, why does it report success when (for example) a JSON file has been found to have incorrect syntax? |
That would be a bug. |
Just wondering if it's possible to have a dev environment where we don't need to run bin/build every time we make changes? It's especially annoying when I'm debugging, because I'll need to rebuild every time after I make some minor js changes. (and I'll often forget to do that......) |
I think that's one of the next things I'll work on. |
I get the impression that running without building first is pretty infeasible, but there might be a way I've not thought of. |
Now that we build the html files from templates, we could insert tags to load all the files in dev mode. We could have flags on bin/build to optionally lint/validate/minimize the files before linking them. For the runtime files it's a bit trickier, but in order to support offline we're going to have to use our local iframerunner.html anyway (not as secure, but it may be premature to worry about that), so we could templatize that too and load the runtime files directly instead of passing a link to the library from IDE to iframe. The hardest bit will be the code generated from blocks, but if we get enough value from this, that may be do-able. One thing that came up when talking to students was whether we should standardize on |
All of this is part of #269 |
As of the current developer branch there is no need for a build step any more. |
bin/build
should have command-line options for minifying the resulting files and for verifying the javascript and css files.Maybe even an option to build the html files to load css/js files directly without concatenating, so they don't have to be continually rebuilt in dev mode?
The text was updated successfully, but these errors were encountered: