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
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
A webpack plugin for Metalsmith.
install metalsmith-webpack
webpack = require('metalsmith-webpack')
lsmith(__dirname)
se(webpack(options))
uild()
See the webpack configuration documentation for details.
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.
m test
MIT License, see LICENSE for details.