diff --git a/README.md b/README.md index 73986cf..0652aae 100644 --- a/README.md +++ b/README.md @@ -10,6 +10,7 @@ A CodePen demo is available [here](http://codepen.io/davidchin/full/GpNvqw/). 1. Install `react-input-range` using npm. `npm install react-input-range` 2. Import `react-input-range.css` to apply the default styling. 3. Import `react-input-range.js` to use `InputRange` component. +4. Depending on your browser support requirement, `babel-core/polyfill` or `core-js/es6` polyfill might be needed. ## Usage If accepting a range of values: diff --git a/example/index.html b/example/index.html index 949abc6..8b16e24 100644 --- a/example/index.html +++ b/example/index.html @@ -11,6 +11,8 @@
+ + diff --git a/tasks/config.js b/tasks/config.js index cea6cfc..c6a1c9c 100644 --- a/tasks/config.js +++ b/tasks/config.js @@ -44,6 +44,9 @@ config.script = { entries: [ config.example.src + '/example.js', ], + noParse: [ + require.resolve(path.join(process.cwd(), config.build, config.name)), + ], output: 'example.js', dest: config.example.build, debug: true,