Skip to content
This repository has been archived by the owner on Jun 29, 2018. It is now read-only.

Commit

Permalink
Disable parsing of babelrc files when loading <script>s. Closes #64
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel15 committed Oct 29, 2016
1 parent ad75548 commit baedcba
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "babel-standalone",
"version": "6.18.0",
"version": "6.18.1",
"description": "Standalone build of Babel for use in non-Node.js environments. Similar to the (now deprecated) babel-browser",
"main": "babel.js",
"scripts": {
Expand Down
1 change: 1 addition & 0 deletions src/transformScriptTags.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ function transformCode(transformFn, script) {
*/
function buildBabelOptions(script) {
return {
babelrc: false,
presets: script.presets || [
'react',
'es2015',
Expand Down

0 comments on commit baedcba

Please sign in to comment.