Switch to using gulp-better-rollup

Means our rollup bundling doesn't leave any
artefact files lying around that we'd then have to
deal with.

Also includes:
- removal of some JSHint config' marking the
  artefacts as scripts to ignore
- use of streamqueue package to allow the same
  ordering of scripts as before
This commit is contained in:
Tom Byers
2019-11-20 13:43:07 +00:00
parent e034f5b77a
commit 0e10879ef2
3 changed files with 71 additions and 71 deletions

View File

@@ -2,10 +2,10 @@
// a bit like `app/__init__` in the Flask app.
//
// When processed by a bundler, this is turned into a Immediately Invoked Function Expression (IIFE)
// and saved as `all.js` in the same folder as this file. The IIFE format allows it to run in
// browsers that don't support JS Modules.
// The IIFE format allows it to run in browsers that don't support JS Modules.
//
// Exported items will be added to the window.GOVUK namespace.
// For example, `export { Frontend }` will assign `Frontend` to `window.Frontend`
import Header from 'govuk-frontend/components/header/header';
// Copy of the initAll function from https://github.com/alphagov/govuk-frontend/blob/v2.13.0/src/all.js