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

Commit

Permalink
Adds polyfills to the examples build.
Browse files Browse the repository at this point in the history
  • Loading branch information
BertrandBordage committed Mar 1, 2019
1 parent 0dbeca5 commit 08955ba
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
5 changes: 5 additions & 0 deletions example/index.story.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@ import { createStore, applyMiddleware } from 'redux';
import { Provider } from 'react-redux';
import thunk from 'redux-thunk';

// Polyfills
import 'core-js/shim'
import 'element-closest';
import 'custom-event-polyfill';

import { StreamField, streamFieldReducer } from '../src';

import { complexNestedStreamField } from './samples'
Expand Down
2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,8 @@
"babel-jest": "^23.6.0",
"babel-plugin-transform-react-remove-prop-types": "^0.4.21",
"css-loader": "^1.0.1",
"custom-event-polyfill": "^1.0.6",
"element-closest": "^3.0.1",
"jest": "^23.6.0",
"npx": "^10.2.0",
"postcss-cli": "^6.1.1",
Expand Down

0 comments on commit 08955ba

Please sign in to comment.