Skip to content

Commit 223d30c

Browse files
committed
Removes babel loose mode
1 parent b1a68df commit 223d30c

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

.babelrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{
2-
"presets": ["es2015-loose"],
2+
"presets": ["es2015"],
33
"plugins": ["transform-es2015-modules-umd"]
44
}

package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@
2020
"babel-core": "^6.5.2",
2121
"babel-plugin-transform-es2015-modules-umd": "^6.5.0",
2222
"babel-preset-es2015": "^6.5.0",
23-
"babel-preset-es2015-loose": "^7.0.0",
2423
"babelify": "^7.2.0",
2524
"bannerify": "Vekat/bannerify#feature-option",
2625
"browserify": "^13.0.0",
@@ -44,6 +43,6 @@
4443
"build-min": "uglifyjs dist/clipboard.js --comments '/!/' -m screw_ie8=true -c screw_ie8=true,unused=false -o dist/clipboard.min.js",
4544
"build-watch": "watchify src/clipboard.js -s Clipboard -t [babelify] -o dist/clipboard.js -v",
4645
"test": "karma start --single-run",
47-
"prepublish": "babel src --out-dir lib --loose all"
46+
"prepublish": "babel src --out-dir lib"
4847
}
4948
}

0 commit comments

Comments
 (0)