aboutsummaryrefslogtreecommitdiffstats
path: root/library/cropperjs/.babelrc
diff options
context:
space:
mode:
Diffstat (limited to 'library/cropperjs/.babelrc')
-rw-r--r--library/cropperjs/.babelrc19
1 files changed, 13 insertions, 6 deletions
diff --git a/library/cropperjs/.babelrc b/library/cropperjs/.babelrc
index 6909c9dc9..c67071221 100644
--- a/library/cropperjs/.babelrc
+++ b/library/cropperjs/.babelrc
@@ -1,10 +1,17 @@
{
"presets": [
- ["env", {
- "modules": false,
- "targets": {
- "browsers": ["last 2 versions", "ie >= 9"]
+ [
+ "@babel/preset-env",
+ {
+ "modules": false
}
- }]
- ]
+ ]
+ ],
+ "env": {
+ "test": {
+ "plugins": [
+ "istanbul"
+ ]
+ }
+ }
}