Skip to content
This repository has been archived by the owner on Dec 13, 2018. It is now read-only.

Commit

Permalink
fix(umd): this fixes the UMD build for newer versions of React
Browse files Browse the repository at this point in the history
Closes #334
  • Loading branch information
Kent C. Dodds committed Sep 25, 2017
1 parent 8fb386d commit 3eeffc9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions other/__tests__/dist-react.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
* This file is unable to validate the global export.
*/
import assert from 'assert'
import './helpers/prop-types' // eslint-disable-line

import * as esImportStar from '../../dist/glamorous.esm'
import * as esImportStarTiny from '../../dist/glamorous.esm.tiny'
Expand Down
4 changes: 4 additions & 0 deletions other/__tests__/helpers/prop-types.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
// just to avoid a warning...
import PropTypes from 'prop-types'

window.PropTypes = PropTypes

0 comments on commit 3eeffc9

Please sign in to comment.