emoji-mart-lazyload/scripts/build-example.js

27 lines
532 B
JavaScript
Raw Normal View History

2016-05-31 14:36:52 +00:00
var path = require('path')
var webpack = require('webpack')
var config = require('../example/webpack.config.js')
2016-05-31 14:36:52 +00:00
webpack(config, (err, stats) => {
2016-05-31 14:36:52 +00:00
if (err) throw err
console.log(
stats.toString({
colors: true,
hash: true,
version: false,
timings: true,
assets: true,
chunks: false,
chunkModules: false,
modules: false,
children: false,
cached: false,
reasons: false,
source: false,
errorDetails: false,
chunkOrigins: false,
})
)
})