react-html5-video-editor
Version:
React component for simple video effects online
29 lines (27 loc) • 634 B
JavaScript
var path = require('path');
var webpack = require('webpack');
module.exports = {
devtool: 'eval',
entry: [
// 'webpack-dev-server/client?http://localhost:3000',
// 'webpack/hot/only-dev-server',
'./src/RdxVideo'
],
output: {
path: path.join(__dirname, 'dist'),
filename: 'react-html5-video-editor.js',
// libraryTarget: 'umd',
library: 'ReactHtml5VideoEditor',
publicPath: '/static/'
},
// plugins: [
// new webpack.HotModuleReplacementPlugin()
// ],
module: {
loaders: [{
test: /\.js$/,
loaders: ['babel'],
include: path.join(__dirname, 'src')
}]
}
};