Skip to content

Commit

Permalink
Add Rollup plugins
Browse files Browse the repository at this point in the history
Add Rollup plugins, includes commonjs plugins since GOV.UK Frontend is currently shipped as UMD.

See alphagov/govuk-frontend#711 for more details.
  • Loading branch information
NickColley committed May 23, 2018
1 parent fc44e9e commit 8abf1a9
Show file tree
Hide file tree
Showing 3 changed files with 1,765 additions and 1,659 deletions.
4 changes: 4 additions & 0 deletions lib/metalsmith.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@ const permalinks = require('metalsmith-permalinks') // apply a permalin
const sass = require('metalsmith-sass') // convert Sass files to CSS using LibSass
const hashAssets = require('metalsmith-fingerprint-ignore') // add hash to specified files and ignores files that match a pattern

const rollup = require('metalsmith-rollup') // used to build GOV.UK Frontend JavaScript
const resolve = require('rollup-plugin-node-resolve')
const commonjs = require('rollup-plugin-commonjs')

// const debug = require('./debug') // debug plugin
const navigation = require('./navigation.js') // navigation plugin
const modernizrBuild = require('./modernizr-build.js') // modernizr build plugin
Expand Down
Loading

0 comments on commit 8abf1a9

Please sign in to comment.