Skip to content

Commit 8181752

Browse files
committed
fix(dependecies): included "regenerator-runtime/runtime" and renamed global variable
1 parent 3c412e8 commit 8181752

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -87,4 +87,4 @@
8787
"dependencies": {
8888
"webpack-cli": "^2.0.11"
8989
}
90-
}
90+
}

src/index.jsx

+1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
import React, { Component } from 'react';
22
import PropTypes from 'prop-types';
33
import { shuffle, identity, cloneDeep } from 'lodash';
4+
import "regenerator-runtime/runtime";
45

56
import MemoryGrid from './MemoryGrid';
67
import MemoryCard, { CARD_STATE } from './MemoryCard';

webpack.config.babel.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ export default {
77
output: {
88
path: join(__dirname, 'dist'),
99
libraryTarget: 'umd',
10-
library: 'reactMemoryGame',
10+
library: 'ReactMemoryGame',
1111
},
1212
devtool: 'source-map',
1313
module: {

0 commit comments

Comments
 (0)