From 5580ffe8ec6fb4dbe36410ab6c664c6cf1df09cb Mon Sep 17 00:00:00 2001 From: Luca Perret Date: Wed, 9 Aug 2017 00:52:18 +0200 Subject: [PATCH] fix(GaspardElements): Exporting class Ability to import GaspardElements class from the main BREAKING CHANGE: GaspardElement now can be used --- .babelrc | 6 ++++-- README.md | 2 ++ dist/gaspard.umd.js | 5 +++-- dist/gaspard.umd.js.map | 1 + examples/index.js | 10 +++++----- package.json | 6 ++++-- src/index.js | 8 +++++--- webpack.config.js | 10 ++++++++-- yarn.lock | 6 ++++++ 9 files changed, 38 insertions(+), 16 deletions(-) create mode 100644 dist/gaspard.umd.js.map diff --git a/.babelrc b/.babelrc index 5c4c19c..b7fab5d 100644 --- a/.babelrc +++ b/.babelrc @@ -3,8 +3,10 @@ [ "env", { - "loose": true, - "modules": false + "modules": false, + "targets": { + "browsers": ["> 1%", "last 2 versions", "not ie <= 8"] + } } ], "stage-2" diff --git a/README.md b/README.md index 785d2f8..ef4b122 100644 --- a/README.md +++ b/README.md @@ -38,6 +38,8 @@ const Gaspard = require('gaspard') Via ` + +