From 78463b2592a12eac990673a991aada66f86b1434 Mon Sep 17 00:00:00 2001 From: Pete Cook Date: Mon, 7 Mar 2016 10:11:40 +0000 Subject: [PATCH] Fix browser build --- webpack.config.browser.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/webpack.config.browser.js b/webpack.config.browser.js index 6f6ac75b..a530c013 100644 --- a/webpack.config.browser.js +++ b/webpack.config.browser.js @@ -6,7 +6,8 @@ module.exports = { entry: './src/ReactPlayer', output: { path: path.join(__dirname, 'dist'), - filename: 'ReactPlayer.js' + filename: 'ReactPlayer.js', + library: 'ReactPlayer' }, plugins: [ new webpack.optimize.OccurenceOrderPlugin(),