Skip to content

Gulp - optimise scripts & js #56

@alexwileyy

Description

@alexwileyy

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions