Skip to content
This repository was archived by the owner on Mar 30, 2020. It is now read-only.
This repository was archived by the owner on Mar 30, 2020. It is now read-only.

Introduce yarn + webpack #9

Description

@maoo

Currently the packaging and deployment of all web assets are manually managed, which (as I'm sure you've experienced) makes code a lot less modular, and tougher to maintain.

It is highly suggested to use a tool like Webpack to take care of this for you. In this case, you would build your project using webpack, and then publish the generated files to your gh-pages branch. Webpack can bundle raw Javascript with jQuery like you have, or can work with a full SPA framework like Angular, React, etc. Here is a good example to do this using something like React. The addition of a build manager like Webpack will make your code significantly more modular and maintainable, since you can require(*) files in your written javascript, and then have webpack build the dependency tree into a single deployed javascript file.

yarn + webpack = super maintainable codebase

/CC @kbarresi @Kabrakssis

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions