Fix: Umd pattern #7

This commit is contained in:
surunzi
2016-05-25 14:26:52 +08:00
parent 57b122836c
commit 9ffee878cf
2 changed files with 3 additions and 2 deletions

View File

@@ -1,6 +1,6 @@
{
"name": "eruda",
"version": "0.5.7",
"version": "0.5.8",
"description": "Console for Mobile Browsers",
"main": "dist/eruda.js",
"scripts": {

View File

@@ -9,7 +9,8 @@ module.exports = {
output: {
path: __dirname + '/dist/',
filename: 'eruda.js',
library: ['eruda']
library: ['eruda'],
libraryTarget: 'umd'
},
module: {
loaders: [