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

Gulp - optimise scripts & js #56

Open
alexwileyy opened this issue Mar 15, 2017 · 0 comments
Open

Gulp - optimise scripts & js #56

alexwileyy opened this issue Mar 15, 2017 · 0 comments

Comments

@alexwileyy
Copy link
Member

alexwileyy commented Mar 15, 2017

There are optimisations that can be made with Gulp. For example, we may want to introduce a file structure such as:

| app
  | src
    | all app contents from previously discussed dir structure (issue #55)
  | dist
    //Contents of public folder, only output what the client will see
    | js
    | img
    | css

Everything from src gets ran through gulp and is optimised and minified ready to be used in production in dist. This is something that is vital when it comes to scaling as it makes running an expanding code base far more efficient if any processing is being done on the client end. It is also good industry standard to optimise code before serving to a user.

Doing this also allows us to version track our output files appropriately

@PandelisZ to review proposed structure.

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

No branches or pull requests

1 participant