emoji-mart-lazyload/example/webpack.config.js

28 lines
458 B
JavaScript
Raw Normal View History

2016-05-31 14:36:52 +00:00
var path = require('path')
module.exports = {
entry: path.resolve('example/index.js'),
output: {
path: path.resolve('build'),
filename: 'example.js',
},
module: {
loaders: [
{
test: /\.js$/,
loader: 'babel-loader',
include: [
path.resolve('src'),
path.resolve('data'),
path.resolve('example'),
],
},
],
},
resolve: {
extensions: ['', '.js'],
},
}