diff --git a/package.json b/package.json index 7e3d2ab..a7cc7ac 100644 --- a/package.json +++ b/package.json @@ -87,4 +87,4 @@ "dependencies": { "webpack-cli": "^2.0.11" } -} \ No newline at end of file +} diff --git a/src/index.jsx b/src/index.jsx index 2dc333d..afd602d 100644 --- a/src/index.jsx +++ b/src/index.jsx @@ -1,6 +1,7 @@ import React, { Component } from 'react'; import PropTypes from 'prop-types'; import { shuffle, identity, cloneDeep } from 'lodash'; +import "regenerator-runtime/runtime"; import MemoryGrid from './MemoryGrid'; import MemoryCard, { CARD_STATE } from './MemoryCard'; diff --git a/webpack.config.babel.js b/webpack.config.babel.js index f8d8088..be84872 100644 --- a/webpack.config.babel.js +++ b/webpack.config.babel.js @@ -7,7 +7,7 @@ export default { output: { path: join(__dirname, 'dist'), libraryTarget: 'umd', - library: 'reactMemoryGame', + library: 'ReactMemoryGame', }, devtool: 'source-map', module: {