made with esnextbin
Last active
November 15, 2018 15:35
-
-
Save voronianski/f236c7ad68a865afc8fd272c6798f222 to your computer and use it in GitHub Desktop.
@babel/standalone v7.1.0
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!doctype html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<title>ESNextbin Sketch</title> | |
<!-- put additional styles and scripts here --> | |
</head> | |
<body> | |
<!-- put markup and other contents here --> | |
</body> | |
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React from 'react'; | |
console.log("react", React); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name": "babel-standlone-example-2", | |
"description": "with @babel/standalone v7.1.0", | |
"version": "1.0.0", | |
"dependencies": { | |
"react": "16.6.3" | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"use strict"; | |
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); | |
var _react = _interopRequireDefault(require("react")); | |
console.log("react", _react.default); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment