department-of-veterans-affairs/metalsmith-webpack

Name: metalsmith-webpack

Owner: Department of Veterans Affairs

Description: null

Created: 2017-04-21 17:22:17.0

Updated: 2017-04-21 17:44:49.0

Pushed: 2017-04-21 18:02:19.0

Homepage: null

Size: 84

Language: JavaScript

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

metalsmith-webpack

Build Status

A webpack plugin for Metalsmith.

Installation
install metalsmith-webpack
Usage
webpack = require('metalsmith-webpack')

lsmith(__dirname)
se(webpack(options))
uild()
Options

See the webpack configuration documentation for details.

Example
lsmith(__dirname)
se(webpack({
context: path.resolve(__dirname, './src/js/'),
entry: './index.js',
output: {
  path: '/js',
  filename: 'bundle.js'
}
)
uild()

See the tests for more examples.

Tests
m test
License

MIT License, see LICENSE for details.


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.