Skip to content
This repository has been archived by the owner on Jan 31, 2022. It is now read-only.

JavaScript distribution in package #9

Closed
adamsilver opened this issue Jul 11, 2018 · 2 comments
Closed

JavaScript distribution in package #9

adamsilver opened this issue Jul 11, 2018 · 2 comments
Assignees

Comments

@adamsilver
Copy link
Contributor

We need to create an all.js bundle using rollup (most prob) that bundles together all components into a single file.

Notes:

  • jQuery is already in vendor so will be there
  • We need to write guidance for setting up JS to run in say JUI or the DS etc. That is we want to make sure vendor/jquery and all.js is added to the right place. (see govuk frontend for a very good starting point).
@adamsilver
Copy link
Contributor Author

or actually, we just have a really simple concat gulp task to put everything inside all.js—that's possibly all we need to do for a first pass.

It's then just about when the gulp task runs etc.

@adamsilver adamsilver self-assigned this Jul 13, 2018
@adamsilver
Copy link
Contributor Author

Done

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

1 participant